# How to collect metrics for tcp conenctions

**URL:** <https://discuss.elastic.co/t/how-to-collect-metrics-for-tcp-conenctions/247740>\
**Category:** Metrics\
**Created:** [September 7, 2020, 9:24am UTC](https://discuss.elastic.co/t/how-to-collect-metrics-for-tcp-conenctions/247740 "2020-09-07T09:24:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyashree](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priyashree/32/45100_2.png) [@priyashree](https://discuss.elastic.co/u/priyashree)\
**Post date:** [September 7, 2020, 9:24am UTC](https://discuss.elastic.co/t/how-to-collect-metrics-for-tcp-conenctions/247740/1 "2020-09-07T09:24:57Z")

</div>

I want to collect the metrics for "ESTABLISHED" tcp connections for the port 9200 on the machines where Elasticsearch is installed. How do we use mertricbeat `socket_summary` to find the TCP connection for the port 9200. Please help

---

<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 5, 2020, 9:25am UTC](https://discuss.elastic.co/t/how-to-collect-metrics-for-tcp-conenctions/247740/2 "2020-10-05T09:25:27Z")

</div>

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