Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

25 行
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