What are the types of Logstash configuration files? code example
Example: check logstash config
sudo bin/logstash --config.test_and_exit -f <path_to_config_file>
sudo bin/logstash --config.test_and_exit -f <path_to_config_file>