You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a log file which is very sporadically written to - one line every few hours, or even days. I noticed that entries from that file weren't showing up on elasticsearch.
On further investigation I noticed that logstash-forwarder seems to not send the last two lines from a log file. So if I have two logs entries in the file, they aren't sent to elasticsearch. When I add a third entry, the first entry is sent to elasticsearch.
Is there a way to ensure that logstash-forwarder forwards logs as soon as they are appended to the log?
The text was updated successfully, but these errors were encountered:
I have a log file which is very sporadically written to - one line every few hours, or even days. I noticed that entries from that file weren't showing up on elasticsearch.
On further investigation I noticed that logstash-forwarder seems to not send the last two lines from a log file. So if I have two logs entries in the file, they aren't sent to elasticsearch. When I add a third entry, the first entry is sent to elasticsearch.
Is there a way to ensure that logstash-forwarder forwards logs as soon as they are appended to the log?
The text was updated successfully, but these errors were encountered: