How to collect metrics for tcp conenctions

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