Kafka not reading the logstash logs


I have done the below configuration. I am able start the logstash but kafka not reading the logs. Please help me to resolve this issue.

input {

path=> ["/etc/logstash/*.log"]
bootstrap_servers => 'server_ip:9092'
topic_id => 'poc'


What's in Logstash's logs? Is it able to connect to Kafka? Is it reading any logs? With your current configuration Logstash will tail files in /etc/logstash so unless new data is appended to the files nothing will happen.

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