Restart individual Logstash pipeline

#1

I know this question has been asked before here but with no answer.

Is there a way to pass a parameter to logstash to restart only a specific pipeline without impacting the others?

The reason is updated configuration on that specific pipeline.

(Brian Hansen) #2

if you send a sighup to logstash AKA kill -1 PID it will check for configs that have changed and only reload that pipeline a helpful command I use is

#get the process id
ps aux | grep logstash
#send sighup and check the log
kill -1 ID & tail -f /var/log/logstash/logstash-plain.log

this will send the sighup and then open the log file to see if the config loads with no errors

Brian

#3

@bhansen, this worked, thanks so much.

(system) closed #4

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