Created
August 3, 2015 22:31
-
-
Save griggheo/eeb43c49040ff178f75d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"network": { | |
"servers": [ "{{logstash_elasticsearch_host }}:{{ logstash_listen_port_tcp }}" ], | |
"ssl ca": "{{ logstash_forwarder_etc_dir }}/{{ ssl_cert }}", "timeout": 15 | |
}, | |
"files": [ | |
{ | |
"paths": [ | |
"/var/log/syslog", | |
"/var/log/*.log" | |
], | |
"fields": { "type": "syslog" } | |
}, | |
{ | |
"paths": [ | |
"/var/log/apache2/*.log" | |
], | |
"fields": { "type": "apache" } | |
}, | |
{ | |
"paths": [ | |
"/var/log/nginx/*access.log" | |
], | |
"fields": { "type": "nginx-access" } | |
}, | |
{ | |
"paths": [ | |
"/opt/app/logs/nginx*access.log" | |
], | |
"fields": { "type": "nginx-access" } | |
}, | |
{ | |
"paths": [ | |
"/opt/boom/logs/app-core.log" | |
], | |
"fields": { "type": "app-core" } | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment