Can someone suggest the step to achieve the below requirement.
- Logstash collect the logs from apache, application server and pushing to kafka
- kafka accepting the logs from logstash as input stream and forward it to other logstash server ?
Please share the configuration for both producer , consumer and how we can check at kafka server that logs are coming from source logstash ?
Thanks Vishal for the reply
So basically, you wanted to accomplish this flow
application server => logstash (producer) => kafka server => logstash (consumer)
Here's the config for kafka as producer. It will output to kafka server
topic_id => "topicname"
While this one gets the data from kafka server
topics => ["topicname"]
You can view incoming datas in the kafka server using elasticsearch as output of your consumer.
Thanks Archelle for the reply.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.