I am getting theses errors
- my Kafka version 2.12-1
- Logstash version 6.3
- Kafka input plugin version. 8.1.1
- Kafka output plugin 7.1.1
my requirement read from Kafka. and write to Elasticsearch.
Can somebody give correct config?
input {
kafka {
broker_list => "localhost:2181"
topic_id => "welcometoKafka"
}
}
output{
stdout{
codec => rubydebug
}
elasticsearch{
index => "elasticlog-demo"
hosts => ["localhost:9200"]
}
stdout { codec => json {} }
[ERROR][logstash.inputs.kafka ] Unknown setting 'broker_list' for kafka
[2018-07-11T11:23:28,978][ERROR][logstash.inputs.kafka ] Unknown setting 'topic_id' for kafka
[2018-07-11T11:23:29,000][ERROR][logstash.agent ] Failed to execute action