I use Logstash(2.4.0) output logs to Elasticsearch(2.3.3) server.
Before launch Logstash,I write a configuration file logstash-2.4.0/conf:
input {
stdin {}
}
filter{
}
output {
elasticsearch { host => localhost }
stdout { codec => rubydebug }
}
then run ./bin/logstash -f conf/logstash.conf,the error info as below:
how to slove this problem?
filtercriteria, since it's not used in the above and thehostwithinelasticsearchshould behosts.