rsthakur83
(Ravinder Singh Thakur)
July 8, 2017, 1:33pm
1
Hi ,
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
Ravinder
rsthakur83
(Ravinder Singh Thakur)
July 9, 2017, 2:19pm
3
Thanks Vishal for the reply
inhinyera16
(Archelle Pagapulan)
July 10, 2017, 3:53am
4
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
output
{
kafka {
topic_id => "topicname"
}
}
While this one gets the data from kafka server
input {
kafka {
topics => ["topicname"]
}
}
You can view incoming datas in the kafka server using elasticsearch as output of your consumer.
rsthakur83
(Ravinder Singh Thakur)
July 10, 2017, 7:45am
5
Thanks Archelle for the reply.
system
(system)
Closed
August 7, 2017, 7:45am
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.