# Best beat to get tcp package losses

**URL:** <https://discuss.elastic.co/t/best-beat-to-get-tcp-package-losses/86821>\
**Category:** Beats\
**Created:** [May 23, 2017, 1:57pm UTC](https://discuss.elastic.co/t/best-beat-to-get-tcp-package-losses/86821 "2017-05-23T13:57:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![isaacpm](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@isaacpm](https://discuss.elastic.co/u/isaacpm)\
**Post date:** [May 23, 2017, 1:57pm UTC](https://discuss.elastic.co/t/best-beat-to-get-tcp-package-losses/86821/1 "2017-05-23T13:57:38Z")

</div>

Hi,

we are trying to get statistics on packet losses and connection resets from TCP.  
I've tried flows but it doesn't know how many packages are lost and I can't see if there are any counts of the resets.  
I was wondering if there is another beat that could gather statistics from the network, maybe via the OS, and ship that to ES.  
Or if anyone has a suggestion of a tool that I could run regularly and send to logstash or similar.  
Also the application runs in a docker container, we can run an agent there but would be better to run only one in the host OS.

Any suggestions?

Thanks,  
Isaac

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 23, 2017, 3:48pm UTC](https://discuss.elastic.co/t/best-beat-to-get-tcp-package-losses/86821/2 "2017-05-23T15:48:18Z")

</div>

In Metricbeat, there is a [system network](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-network.html) metricset that collect the [metrics](https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html#_network_fields_3) from `/proc/net/dev` on Linux.

It can give the dropped packet count for the interface. But connection reset info for TCP isn't tracked there. For that we have an open [issue](https://github.com/elastic/beats/issues/3444) to enhance flows.

---

<div class="post-metadata">

**Author:** ![isaacpm](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@isaacpm](https://discuss.elastic.co/u/isaacpm)\
**Post date:** [May 23, 2017, 4:08pm UTC](https://discuss.elastic.co/t/best-beat-to-get-tcp-package-losses/86821/3 "2017-05-23T16:08:27Z")

</div>

Hi Andrew,

thanks for the quick reply.  
I'll check the metricbeat and keep an eye on the open issue, as that one seems to be what we need.

Cheers,  
Isaac

---

<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:** [June 13, 2017, 1:57pm UTC](https://discuss.elastic.co/t/best-beat-to-get-tcp-package-losses/86821/4 "2017-06-13T13:57:41Z")

</div>

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