Logstash Debugging mode

There may be times when you need to check in the console that Logstash is running normally. A useful option is to use the following command:

/usr/share/logstash/bin/logstash --debug -f /etc/logstash/logstash.conf --path.settings /etc/logstash

CentOS-based logstash installation location is / usr / share / logstash / bin / logstash, and the configuration file to test can be specified with -f.

Facebook Comments

Leave A Reply

Detection ADBlockPlease, Disable or add to white list on our site.