logstash config code example Example: check logstash config sudo bin/logstash --config.test_and_exit -f <path_to_config_file>