examples/log_files.yml.example.advanced in remote_syslog-1.5.1 vs examples/log_files.yml.example.advanced in remote_syslog-1.6.0
- old
+ new
@@ -1,7 +1,15 @@
# see README - demonstrates all optional arguments and file glob formats
-files: [/var/log/httpd/access_log, /opt/misc/*, /some/daemon/**/*.log]
+files:
+ - /var/log/httpd/access_log
+ - /var/log/httpd/error_log
+ - /opt/misc/*.log
+ - /var/log/mysqld.log
+ - /var/run/mysqld/mysqld-slow.log
hostname: www42 # override OS hostname
parse_fields: syslog # predefined regex name or double-quoted regex
+exclude_patterns:
+ - exclude this
+ - \d+ things
destination:
host: logs.papertrailapp.com
port: 12345 # optional, defaults to 514