Saltstack Official Syslog-NG Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
540B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. syslog_ng:
  5. options:
  6. - chain_hostnames: false
  7. - flush_lines: 0
  8. - use_dns: false
  9. - use_fqdn: false
  10. - owner: root
  11. - group: adm
  12. - perm: =0640
  13. - stats_freq: 0
  14. - bad_hostname: "^gconfd$"
  15. source:
  16. - s_src:
  17. - internal: null
  18. destination:
  19. - d_syslog:
  20. - file:
  21. - /var/log/syslog
  22. filter:
  23. - f_syslog3:
  24. - =not level(debug)
  25. log:
  26. -
  27. - source: =s_src
  28. - filter: =f_syslog3
  29. - destination: =d_syslog