I have created one logstash conf file and reading kafka topic and trying to send to different elastic search deployed on different servers. Can you please help, what I am doing wrong. Nothings happening. Below my code
When I up the instance, data going to local elastic search only not deployed on abc:9200
input {
kafka {
bootstrap_servers => "localhost:9092"
topics => ["topic_1"]
}
}
output {
elasticsearch {
hosts => ["abc:9200","localhost:9200"]
index => "contacttrace"
}
}