logstash config :
input {
kafka {
bootstrap_servers => "localhost:9092"
topics => ["log-test-8"]
codec => "json"
}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "log-test-8"
workers => 1
}
}
Can you give some examples of how to get "type" and specific data I sent in my kafka
Most common errors: - No valid yaml as logstash.conf - Instance not reachable
Did you try to run logstash from the commandline? Can you provide debug output of logstash? (For reference: https://www.elastic.co/guide/en/logstash/current/running-logstash-command-line.html)