Logstash to exit or stop once the data indexing is completed

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.

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

Thank you for your response.

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

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

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