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