# Add new input plugin when logstash is running

**URL:** https://discuss.elastic.co/t/add-new-input-plugin-when-logstash-is-running/33823
**Category:** Logstash
**Created:** [November 5, 2015, 3:08am UTC](https://discuss.elastic.co/t/add-new-input-plugin-when-logstash-is-running/33823 "2015-11-05T03:08:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kitchanw1209](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@kitchanw1209](https://discuss.elastic.co/u/kitchanw1209)
#### Post date: [November 5, 2015, 3:08am UTC](https://discuss.elastic.co/t/add-new-input-plugin-when-logstash-is-running/33823/1 "2015-11-05T03:08:56Z")

</div>

Does logstash have any way for user to add new input plugin when it is running?  
For instance, I'm just monitoring fileA, now I want to monitor fileB and a database also, but I don't want to shut down or restart logstash. how can I do?

Thanks

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [November 5, 2015, 4:42am UTC](https://discuss.elastic.co/t/add-new-input-plugin-when-logstash-is-running/33823/2 "2015-11-05T04:42:34Z")

</div>

Logstash does not support on the fly configuration changes. The closest you can get with the file input is using a wide filename pattern in your configuration and then creating a new logfile that matches that pattern. Such a file will be picked up within a few seconds.

---

<div class="post-metadata">

### Author: ![kitchanw1209](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@kitchanw1209](https://discuss.elastic.co/u/kitchanw1209)
#### Post date: [November 5, 2015, 6:23am UTC](https://discuss.elastic.co/t/add-new-input-plugin-when-logstash-is-running/33823/3 "2015-11-05T06:23:47Z")

</div>

thanks very much. it may be an another way to solve my problem.

---

<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: [July 6, 2017, 5:23am UTC](https://discuss.elastic.co/t/add-new-input-plugin-when-logstash-is-running/33823/4 "2017-07-06T05:23:58Z")

</div>


