Kafka input plugin compressed data

In logstash, I am taking input from kafka. The messages in kafka are compressed. So I am getting compressed data in my elasticsearch index. Is there an way to decompress data in logstash. Data is compressed using gzip
This is the input plugin in logstash

input { 
	kafka{
		bootstrap_servers => "abc.com"
		topics => ["topic_name"]

	}
}

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