Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- ELASTIC
- centos 8
- Elasticsearch
- x-pack
- xe guest utilities
- G-suite
- proxycfg
- 로그인불가
- Kibana
- elastic stack
- miniconda
- bash
- Windows
- pfsense
- freebsd
- ansible
- macos
- hardening
- Proxy
- endpoint security
- Kibana server is not ready yet
- docker
- 한글가이드
- XCP-ng
- application security
- GitLab
- ssh key 배포
- PlayBook
- 보안양파
Archives
- Today
- Total
선 밖에 선 자유인
audit 로그 원격 syslog 전송 설정 본문
/etc/rsyslog.conf 에 아래의 내용 추가
----------------------------------------------------------
# auditd audit.log
$ModLoad imfile
$InputFileName /var/log/audit/audit.log
$InputFileTag tag_audit_log:
$InputFileStateFile audit_log
$InputFileSeverity info
$InputFileFacility local6
$InputRunFileMonitor
local6.* @<syslog 서버 IP>:514
----------------------------------------------------------
위의 설정만 하는 경우 message 로그에 audit 로그가 함께 저장됨
아래와 같이 설정
----------------------------------------------------------
*.info;mail.none;authpriv.none;cron.none;local6.none /var/log/messages
*.info;mail.none;authpriv.none;cron.none @<syslog 서버 IP>:514
----------------------------------------------------------
Comments