I am using Logstash 5.4.1.
I need to execute one of my logstash script only once.
I don't want logstash thread to run in background. I want to use logstash script like a batch.
Once thread reach end of the file in input file. It should terminate automatically.
Can someone help me with that?
Note: my input is some data file and output is elasticsearch.
I tried with this syntax. But it didn't work.
/logstash.bat -f myconf.conf < testLog.log