systemctl stop logstash not working code example Example: kill logstash ps -aux | grep logstash kill -9 <process-id>