# Close/flush/reset syslog input connection on logstash

**URL:** <https://discuss.elastic.co/t/close-flush-reset-syslog-input-connection-on-logstash/301813>\
**Category:** Logstash\
**Created:** [April 7, 2022, 1:30am UTC](https://discuss.elastic.co/t/close-flush-reset-syslog-input-connection-on-logstash/301813 "2022-04-07T01:30:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfianaf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alfianaf/32/93192_2.png) [@alfianaf](https://discuss.elastic.co/u/alfianaf)\
**Post date:** [April 7, 2022, 1:30am UTC](https://discuss.elastic.co/t/close-flush-reset-syslog-input-connection-on-logstash/301813/1 "2022-04-07T01:30:50Z")

</div>

Hello, I'm handling logstash syslog input from pcf,  
the log can be ingested, and there is no problem with that,  
but when I check the file descriptor and open connection on the specific port, they kept increasing

is there any way to close syslog connection input routinely? or is there any solution to this?  
I don't want to restart logstash weekly so the connection would be reset.

feel free to ask more information about this, any help is appreciated  
thanks

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 7, 2022, 1:58am UTC](https://discuss.elastic.co/t/close-flush-reset-syslog-input-connection-on-logstash/301813/2 "2022-04-07T01:58:10Z")

</div>

I know of no way to close the connections other than to reload the pipeline.

[This issue](https://github.com/logstash-plugins/logstash-input-syslog/issues/69) may be related.

---

<div class="post-metadata">

**Author:** ![alfianaf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alfianaf/32/93192_2.png) [@alfianaf](https://discuss.elastic.co/u/alfianaf)\
**Post date:** [April 7, 2022, 2:07am UTC](https://discuss.elastic.co/t/close-flush-reset-syslog-input-connection-on-logstash/301813/3 "2022-04-07T02:07:42Z")

</div>

so we'll just wait until the feature is added,  
thanks for the info!

---

<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 5, 2022, 2:07am UTC](https://discuss.elastic.co/t/close-flush-reset-syslog-input-connection-on-logstash/301813/4 "2022-05-05T02:07:51Z")

</div>

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