Restart individual Logstash pipeline

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.

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


@bhansen, this worked, thanks so much.

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