English Korean
*.* @@example.com:18
*.* @@example.com:18
*.* @(z9)[2001:db8::1]
*.* @(z9)[2001:db8::1]
Output channels 출력 채널
Executing a program 프로그램 실행하기
Executing a Program 프로그램 실행하기
cron.* ~
cron.* ~
_FILTER_ _ACTION_
& _ACTION_
& _ACTION_
_FILTER_ _ACTION_
& _ACTION_
& _ACTION_
kern.=crit user1
& ^test-program;temp
& @192.168.0.1
kern.=crit user1
& ^test-program;temp
& @192.168.0.1
Using templates 템플릿트 사용하기
Templates 템플릿트
Properties 속성
%msg%
%msg%
%msg:1:2%
%msg:1:2%
%msg:::drop-last-lf%
%msg:::drop-last-lf%
%timegenerated:1:10:date-rfc3339%
%timegenerated:1:10:date-rfc3339%
Template Examples 템플릿트 예제
`RSYSLOG_DebugFormat` `RSYSLOG_DebugFormat`
Global Directives 전역 지시문
Log Rotation 로그 순환
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# uncomment this if you want your log files compressed
compress
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# uncomment this if you want your log files compressed
compress