Deleted logstash.log does not get replaced automatically


I wanted to clean up the log file to speed up my troubleshooting and I deleted the logstash.log file. Actually I moved it and then deleted it.

I tried many things to spark it's recreation. I created a new file and changed he ownership and permissions, but no luck.

I saw an old post about how the data in the log file is necessary for the logging, but as I've deleted the file I'm not sure how to resolve.

Any ideas?

Please edit your post and move it to the Logstash category. It has nothing to do with logstash-forwarder.

Have you restarted Logstash? I'm not sure Logstash reopens its log file except during startup.