My application maintains its state by persisting some info on a file within an interval of time. This file is not more than 10 lines at a time.
The format of the data that's inside the file would be something like this,
DATE=Feb 10 2016 06:12:34
It seems like filebeat is only able to tail the file and read line by line which is not what I want. I want to parse these lines as a single JSON document and send to elastic.
Is there anyway to do so in filebeat ? Thank you for any input....