# Logstash with kafka input - refresh topic list

**URL:** <https://discuss.elastic.co/t/logstash-with-kafka-input-refresh-topic-list/82701>\
**Category:** Logstash\
**Created:** [April 18, 2017, 11:15am UTC](https://discuss.elastic.co/t/logstash-with-kafka-input-refresh-topic-list/82701 "2017-04-18T11:15:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![devorin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devorin/32/17443_2.png) [@devorin](https://discuss.elastic.co/u/devorin)\
**Post date:** [April 18, 2017, 11:15am UTC](https://discuss.elastic.co/t/logstash-with-kafka-input-refresh-topic-list/82701/1 "2017-04-18T11:15:15Z")

</div>

I am useing kafka input plugin to consume data from single topic. It works fine, but I have new usecase to do. I have to read from many topics. I have tried to use `topics_pattern` and it works well if the list of topics doesn't change during logstash is working. In my scenario i will have new topics in various time periods.

So is there any way to force logstash to refresh topics list which are connected to some pattern and its not connected with logstash restart?

Kafka version: 0.10.0.1  
Logstash version: 5.3.0

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 16, 2017, 11:28am UTC](https://discuss.elastic.co/t/logstash-with-kafka-input-refresh-topic-list/82701/2 "2017-05-16T11:28:30Z")

</div>

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