Are you trying to read gzip logs? AFAIK Filebeat does not handle this. You would need to extract them first. Probably you should be setting exclude_files to skip .gz.
Even when I comment the .gz part out, it gets stuck in an endless loop most of the time. As an aside, the s3-dev-logs are ASCII text, if that makes any difference..
Also, how can I kill filebeat, as control+c doesn't work and it just stays alive and I have to close the terminal session to kill it.
If you use -once then you should also set close_eof: true in order for the harvester to exit. Once all havesters exit then the Beat should stop. See the description of the -once flag in the docs.
In order for the harvester to stop the data also needs to be successfully delivered to the output.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.