ELastic search cluster with logstash

Hi ALl,

I have setup the below as my elasticsearch cluster.

HA proxy -- proxy1.test.com:9000
this HA proxy redirects my request to the below elastic nodes,
es1.test.com:9200
es2.test.com:9200
es3.test.com:9200

while the cluster when i request works locally.

When i give the Output in logstash as the same it doesn't work.
below is my logstash output config,
[root@test conf.d]# cat 30-elasticsearch-output.conf
output {
elasticsearch {
hosts => ["proxy1.test.com:9000"]
manage_template => false
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
}
}
[root@test conf.d]#

Now when i see the output in discover i dont see any output.

FYI am running the kibana and logstash in one server, while using the ES as 3 cluster node.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.