File: //etc/logstash-forwarder.conf
{
"network": {
"servers": [ "10.44.221.33:5043" ],
"ssl key": "/etc/logstash-forwarder.key",
"ssl ca": "/etc/logstash-forwarder.crt",
"timeout": 90
},
"files": [
{
"paths": [ "/var/log/httpd/*.log" ],
"fields": { "type": "Apache", "tags": "clustered_webhosting" }
},
{
"paths": [ "/var/log/httpd/*_log" ],
"fields": { "type": "Apache", "tags": "clustered_webhosting" }
},
{
"paths": [ "/var/log/messages" ],
"fields": { "type": "messages", "tags": "clustered_webhosting" }
},
{
"paths": [ "/var/log/secure" ],
"fields": { "type": "secure", "tags": "clustered_webhosting" }
},
{
"paths": [ "/var/log/maillog" ],
"fields": { "type": "maillog", "tags": "clustered_webhosting" }
}
]
}