Want to send a few data fileds to Kafka

I will connect logstash and Kafka. So now I'm trying to test. It works well this time..

But, logstash sends its all of data fields. Can I choose a few data fileds what I want to send Kafka?

Is there a function in Kafka output plugin about what I said?

Very simple and basic output plugin I use.

output {		
	kafka {
		codec => rubydebug
		topic_id => "test"
	}
}

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