# Add New Ports to Packetbeat dynamically

**URL:** https://discuss.elastic.co/t/add-new-ports-to-packetbeat-dynamically/62557
**Category:** Beats
**Tags:** packetbeat
**Created:** [October 8, 2016, 11:27am UTC](https://discuss.elastic.co/t/add-new-ports-to-packetbeat-dynamically/62557 "2016-10-08T11:27:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![s8sg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s8sg/32/12274_2.png) [@s8sg](https://discuss.elastic.co/u/s8sg)
#### Post date: [October 8, 2016, 11:27am UTC](https://discuss.elastic.co/t/add-new-ports-to-packetbeat-dynamically/62557/1 "2016-10-08T11:27:50Z")

</div>

Currently I have packetbeat http port configuration as below:  
`ports: [80, 8080, 8585]`  
My requirement is to update the the list of port dynamically.

Currently I'm doing the same by Updating the conf file `packetbeat.yml` each time by adding new ports to be considered and restarting the packetbeat.

Is there is any easier way of doing the same.

---

<div class="post-metadata">

### Author: ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)
#### Post date: [October 9, 2016, 9:29pm UTC](https://discuss.elastic.co/t/add-new-ports-to-packetbeat-dynamically/62557/2 "2016-10-09T21:29:51Z")

</div>

Currently there's no easier way. We are considering implementing configuration reload, but it's not on the short term roadmap.

---

<div class="post-metadata">

### Author: ![s8sg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s8sg/32/12274_2.png) [@s8sg](https://discuss.elastic.co/u/s8sg)
#### Post date: [October 11, 2016, 7:08am UTC](https://discuss.elastic.co/t/add-new-ports-to-packetbeat-dynamically/62557/3 "2016-10-11T07:08:47Z")

</div>

Thanks for the confirmation.

---

<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: [October 29, 2016, 11:27am UTC](https://discuss.elastic.co/t/add-new-ports-to-packetbeat-dynamically/62557/4 "2016-10-29T11:27:54Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
