Saltstack Official Syslog-NG Formula
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- syslog_ng:
- module:
- - tfson
- include:
- - /etc/syslog-ng/conf.d/
- version: 3.5
- options:
- - threaded: yes
- - use_dns: no
- - use_fqdn: yes
- - keep_hostname: yes
- - chain_hostnames: no
- - check_hostname: no
- source:
- - s_internal:
- - internal: null
- - s_local:
- - unix-stream: /dev/log
- - file:
- - /proc/kmsg
- - program_override: kernel
- destination:
- - df_messages:
- - file:
- - /var/log/messages
- - df_secure:
- - file: /var/log/secure
- - df_console:
- - usertty: root
- - dp_devnull:
- - program: /bin/cat >/dev/null
- - dr_central:
- - syslog: my-remote.example.com
- filter:
- - f_messages:
- - level: =info..emerg
- - f_secure:
- - facility: =authpriv
- - f_emerg:
- - level: =emerg
- - facility: =uucp, news
- log:
- -
- - source: =s_internal
- - source: =s_local
- - destination: =dr_central
- -
- - source: =s_local
- - filter: =f_emerg
- - destination: =df_console
- -
- - source: =s_local
- - filter: =f_secure
- - destination: =df_secure
- - flags: =final
- -
- - source: =s_local
- - filter: =f_messages
- - destination: =df_messages
|