# Logstash disconnects beat after 15 seconds

**URL:** <https://discuss.elastic.co/t/logstash-disconnects-beat-after-15-seconds/67187>\
**Category:** Logstash\
**Created:** [November 25, 2016, 12:15pm UTC](https://discuss.elastic.co/t/logstash-disconnects-beat-after-15-seconds/67187 "2016-11-25T12:15:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![raja3000](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@raja3000](https://discuss.elastic.co/u/raja3000)\
**Post date:** [November 25, 2016, 12:15pm UTC](https://discuss.elastic.co/t/logstash-disconnects-beat-after-15-seconds/67187/1 "2016-11-25T12:15:29Z")

</div>

I am using filebeat and a custom beat based 5.0.1 and logstash with logstash-input-beat (v3.1.8).

Filebeat is working fine. But I am seeing following issues with my custom beat

2016-11-25T11:06:21Z ERR Sync. Failed to publish events caused by: EOF  
2016-11-25T11:06:21Z INFO Error publishing events (retrying): EOF

Noticed that logstash is closing TCP connection after 15seconds of TCP transaction from the client.

Increasing "client\_inactivity\_timeout" does not help and looks like logstash-input-beats picking only 15 seconds default value. My custom beat will push data only in the interval of 1 min or more.

Is it expected or it is an issue with logstash/logstash-input-beat ?.

Let me know the fix / workaround if any. Also let me know if I have to make any changes to logstash/logstash-input-beat [w.r.to](http://w.r.to) my custom beat.

Note - My custom beat is working fine with elasticsearch output. It is working fine with logstash v2.2

---

<div class="post-metadata">

**Author:** ![raja3000](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@raja3000](https://discuss.elastic.co/u/raja3000)\
**Post date:** [November 28, 2016, 7:04am UTC](https://discuss.elastic.co/t/logstash-disconnects-beat-after-15-seconds/67187/2 "2016-11-28T07:04:55Z")

</div>

it seems to be bug in logstash as It should honor "client\_inactivity\_timeout" and avoid termination of tcp connection with client.

---

<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:** [December 26, 2016, 7:05am UTC](https://discuss.elastic.co/t/logstash-disconnects-beat-after-15-seconds/67187/3 "2016-12-26T07:05:01Z")

</div>

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