Can you test if Filebeat can read from a file?


(Jason) #1

So I have Filebeat configured to check a few .log and a few .txt files. But no data is showing up in ElasticSearch. For testing purposes I reconfigured filebeat to output to a local file and no data is showing up within the local file either. Running a -configtest returns with no configuration errors. I have verified that the paths are correct.

Is there a way for me to test that filebeat can even open to read the source file? Filebeat is running as a Windows service.


(Jason) #2

Figured it out. It was an encoding issue. During testing I set the encoding to utf-16. Once I removed it everything was happy.


(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.