Hello,
We have problems with the logstash-forwarder after the log rotate of massages & secure we are missing the first couple of messages. At least the first one and then sometimes the next 2-5. After that there isn't a message lost anymore.
We use version 0.3.1 is this fixed in 0.4.0?
Any help appreciated!
Here the logstash-forwarder config:
cat /etc/logstash-forwarder.conf
{
"network": {
"servers": [
"xxx:xxx",
"xxx:xxx"
],
"timeout": 15,
"ssl ca": "/etc/pki/tls/certs/logstash-forwarder.crt"
},
"files": [
{
"paths": [
"/var/log/messages",
"/var/log/secure"
],
"fields": {
"type": "syslog"
}
},
{
"paths": [
"/var/log/genericlog/*"
],
"fields": {
"type": "generic"
}
}
]
}
Cheers,
Chris