Cannot Ingest Logs from Kafka with Logstash

I have been unsuccessful in Ingesting Logs from Kafka topic with Logstash 6.6.2. I have successfully pushed the logs to Kafka topic using Filebeat 6.5.4.

Here is my Logstash config:

input {
kafka {
topics => ["wazuh-alerts"]
#consumer_threads => 4
group_id => "tasdasdsadasd"
bootstrap_servers => "localhost:9092"
codec => json_lines
auto_offset_reset => "earliest"

stdout { codec => rubydebug }
file { path => "test.txt" }


I have deleted all other filters in case they were causing problems. Please help.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.