Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{
"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