Skip to content

Instantly share code, notes, and snippets.

@samiujan
Last active December 24, 2019 10:30
Show Gist options
  • Save samiujan/67c1af66455291a242d9a18a518b10c6 to your computer and use it in GitHub Desktop.
Save samiujan/67c1af66455291a242d9a18a518b10c6 to your computer and use it in GitHub Desktop.
how to verify your logstash config file is correct without running the logstash service
/usr/share/logstash/bin/logstash -f <yourfilename.conf> --config.test_and_exit --path.settings=/etc/logstash/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment