Filebeat not seeing fileupdates

Hello all,

My filebeat forwarder stops sending logs to my logstash instance once every half hour or so. I looked at the DBG logs and it essentially says that the file hasn't changed and there are no logs to send. However, I know that there are new logs in the system and the only way I can send the new logs is to restart filebeat.

I looked at other topics that are similar to my problem and I think this might be caused by my rapid file rotation on the server. The logs Filebeat reads from the server can rotate about ever 30s. I heard this might cause a race condition and I'm wondering if there is any way to resolve that without changing the file rotation turnover.

My logstash configuration is the default one except for the path files and filebeat logging.

Thank you for all the help. My stack is consuming around 200k logs each half hour and I'm struggling to keep it up and running especially since it's my first time building the stack.

If you need anymore information or clarification please let me know. I'll provide everything I can.

This issue should be fixed (https://github.com/elastic/beats/pull/1375) in version 1.2.2 which is potentially released next week. We plan to push a release candidate for 1.2.2 today which you could try out. Link should be available here soon: https://github.com/elastic/beats/issues/1440