examples/log_files.yml.example.advanced in remote_syslog-1.6.14 vs examples/log_files.yml.example.advanced in remote_syslog-1.6.15
- old
+ new
@@ -4,14 +4,18 @@
- /var/log/httpd/error_log
- /opt/misc/*.log
- /home/**/*.log
- /var/log/mysqld.log
- /var/run/mysqld/mysqld-slow.log
+exclude_files:
+ - old
+ - 200\d
hostname: www42 # override OS hostname
parse_fields: syslog # predefined regex name or double-quoted regex
prepend: '0xDEADBEEF: ' # prepend this before every log message
exclude_patterns:
- exclude this
- \d+ things
destination:
host: logs.papertrailapp.com
- port: 12345 # Papertrail dest port (default: 514)¬
+ port: 12345 # NOTE: change this to YOUR papertrail port!
+new_file_check_interval: 5 # Check every 5 seconds