Hey!
I am currently trying to parse my old logfiles to elasticsearch. I have a bash script for this and everything would be running fine without the fact that after I have run a file through filebeat to logstash, the filebeat continues monitoring the file. My start command is :
sudo ./filebeat -e -c filebeat.yml -d "publish"
How do I need to modify the command so that filebeat reads the file and stops?