how to kill logstash instance code example Example: kill logstash ps -aux | grep logstash kill -9 <process-id>