when i running logstash in mac os, it works well.
but when i running docker container with same logstash.conf file, logstash container die with
"exception=>"LogStash::ConfigurationError", :message=>"Expected one of [ \t\r\n]"
It is complaining about line 51 and you are showing a 49 line configuration. Perhaps you are pointing path.config at a directory and it is picking up a second file. Try running with --config.debug --log.level debug --config.test_and_exit on the command line.
I'm really grateful for your help. I put the test.sql file into pipeline directory, logstash though of the test.sql file as a conf file. When I moved the test.sql file, it worked.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.