How to write regex pattern on logstash input kakfa topics_pattern


(Sulthon Zainul Habib) #1
 kafka {
    bootstrap_servers => "localhost:9092"
    # topics => ["techsupportforum__listings","black__listings"]
    topics_pattern => "\\*__listings"
    consumer_threads => 1
    decorate_events => true
 }

hi, i have logstash input kafka, i have tried, topics_pattern but not working, if using topics working fine,


(system) #2

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