A stop job running for logstash (Nmin Ns / no limit)

/etc/systemd/system/logstash.service
Set parameter:
TimeoutStopSec=180