Hi,
I am a Novice and I am trying to use a Kafka stream as input for Logstash and load it to Elastic. One major doubt i am having is, If we use Kafka as source, where will the data be stored? (As per my understanding ES stores only the indexes).
The next thing is my Logstash keeps listening to Kafka input and doesn't give out any output. Below is my config file. I use ES & Logstash 5.4.1, kafka_2.12-0.10.2.1 & zookeeper-3.4.10
input {
kafka {
bootstrap_servers => "localhost:2181"
topics => ["test"]
}
}
output {
elasticsearch {
action => "index"
hosts => [ "localhost:9200" ]
index => "kafkatest"
}
stdout {}
}
Kindly help me index the kafka stream to ES.
Thanks,
Gowtham