# Logstash sending data via TCP(Output Plugin) taking a lot of time

**URL:** <https://discuss.elastic.co/t/logstash-sending-data-via-tcp-output-plugin-taking-a-lot-of-time/118004>\
**Category:** Logstash\
**Created:** [February 1, 2018, 11:12am UTC](https://discuss.elastic.co/t/logstash-sending-data-via-tcp-output-plugin-taking-a-lot-of-time/118004 "2018-02-01T11:12:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bioraj](https://avatars.discourse-cdn.com/v4/letter/b/d2c977/32.png) [@bioraj](https://discuss.elastic.co/u/bioraj)\
**Post date:** [February 1, 2018, 11:12am UTC](https://discuss.elastic.co/t/logstash-sending-data-via-tcp-output-plugin-taking-a-lot-of-time/118004/1 "2018-02-01T11:12:10Z")

</div>

I have a Windows service that is listening on TCP port , and ELK installed on Linux server  
I am sending data from logstash via TCP to windows server , It's working fine but taking a lot of time and slow down logstash/elasticsearch server

So what parameters/configuration needs to change ?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 1, 2018, 12:39pm UTC](https://discuss.elastic.co/t/logstash-sending-data-via-tcp-output-plugin-taking-a-lot-of-time/118004/2 "2018-02-01T12:39:26Z")

</div>

What's the bottleneck? Is your Windows service able to receive messages at a sufficiently high rate?

---

<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:** [March 1, 2018, 12:39pm UTC](https://discuss.elastic.co/t/logstash-sending-data-via-tcp-output-plugin-taking-a-lot-of-time/118004/3 "2018-03-01T12:39:35Z")

</div>

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