I just started using Logstash to migrate MySQL data to ES. Wrote my own configuration, but it has certain problems which I'm currently debugging. The thing is, every time I run LS with myconfig.conf and get an error, I don't know how to kill the instance of Logstash to try and run myconfig again.
If I use ctrl+C, it will get to this point and get stuck:
SIGINT received. Terminating immediately..
I can only ctrl+Z from this point, but won't be able to run LS with myconfig again as it is going to be used by the killed process, only way is to restart my laptop.
but there are no Logstash processes running, so I went with:
which also found no processes to kill.. is there a merciful way to quit Logstash?