Logstash to exit or stop once the data indexing is completed


(Suraj) #1

Hi,

I am trying to get a solution for logstash to stop after the data indexing gets completed. Or, logstash should stop reading the file once the job is done (command prompt should get stop and exit).

Please share you opinions and ideas for this.

Thank you.


(Mark Walkom) #2

It cannot do this. You will need to invoke it a single time while passing in a file using stdin.


(Suraj) #3

Thank you for your response.

But does it log somewhere when it finish indexing the data?


(Mark Walkom) #4

No, if you run Logstash it just assumes more data is coming in until you stop it.


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.