Saltstack Official Linux 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.

25 lines
726B

  1. input:
  2. linux_rsyslog_syslog:
  3. engine: logstreamer
  4. log_directory: /var/log
  5. file_match: syslog\.?(?P<Index>\d+)?(.gz)?
  6. priority: ["^Index"]
  7. decoder: RsyslogDecoder
  8. linux_rsyslog_auth:
  9. engine: logstreamer
  10. log_directory: /var/log
  11. file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
  12. priority: ["^Index"]
  13. decoder: RsyslogDecoder
  14. linux_rsyslog_kern:
  15. engine: logstreamer
  16. log_directory: /var/log
  17. file_match: kern\.log\.?(?P<Index>\d+)?(.gz)?
  18. priority: ["^Index"]
  19. decoder: RsyslogDecoder
  20. decoder:
  21. rsyslog:
  22. engine: rsyslog
  23. template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
  24. hostname_keep: TRUE
  25. tz: Europe/Prague