Topics_pattern of kafka input plugin is not working

I am having topics in kafka with prefix "abc-". When I use topics_pattern => "abc-*" in kafka input plugin I am not getting any results in elasticerach. It is not throwing any errors in logstash also.

Currently I am using logstash 6.5.4 version and following is my configuration

input {
    	kafka {
    			bootstrap_servers => "localhost:9092"
    			topics_pattern => "abc-*"
    			metadata_max_age_ms => 60000
    	}		
    }

Hi , you mast write as
"abc-." NOT "abc-"
don't lost the " . " betwen "-" and "*"

2 Likes

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