How to Shutdown logstash once it read full file


#1

logstash continuously reading file after reading full data from my CSV.

I want to shutdown my logstash once it read full file and want to run another logstash.

How can i stop logstash automatically once it read full data.

or is there anyway to run multiple conf files one after another.

Thanks in advance...........


Stuck at "Successfully started Logstash API endpoint {:port=>9600}"
(Mark Walkom) #2

You need to manually call LS with the path to the config file, there is nothing native that can do this.


(Guy Boertje) #3

It will help others on this forum to give you helpful suggestions if you explain what you have - data wise and what you want to achieve with it along with what you have tried already.

The answering kind of folk on this forum range from users with complex installations to Elastic Solution Architects to Elastic Software Engineers.


#4

Thanks for your reply..

I want to stop logstash once it read full file.

Now it continuously reading file and checking for update.


(system) #5

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