I am using the following logstash configuration file to feed the kafka topic data and sending it to elasticsearch
input {
kafka {
bootstrap_servers => "localhost:9092"
topics => ["LDAP"]
}
}
output {
elasticsearch {
hosts => "localhost"
index => "LDAP"
}
}
Assuming all the data from the topic is sent to elasticsearch, what is the way to query elasticsearch with the index?