Invalid setting for elasticsearch output plugin:
output {
elasticsearch {
# This setting must be a path
# File does not exist or cannot be opened twitter_template.json
template => "twitter_template.json"
...
}
} {:level=>:error}
Error: Something is wrong with your configuration.
How can i implement twitter_template.json to output conf
I did what you said. Error fixed but it still say Configuration error. Not restarting. Re-run with configtest parameter for details . I did detail configtest but all files just OK . Where do i have to look to fix it.
Oh, you have twitter_template.json in /etc/logstash/conf.d. That won't do. That directory can only contain the Logstash configuration files you want to use.
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.