Product : logstash-5.0.0-beta1
With the folowing output configuration I get error when start a pipeline
output {
elasticsearch {
hosts => ["x.x.x.x:9200","y.y.y.y:9200"]
sniffing => true
}
}
when run as bin/logstash -f pipeline.conf I get below error. It makes the existing pool to empty.
[2016-10-03T15:32:44,440][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2016-10-03T15:32:48,478][INFO ][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=>{:removed=>["http://x.x.x.x:9200", "http://y.y.y.y:9200"], :added=>[]}}
Workaround : remove the sniffing setting and add all your client nodes to hosts array.