# Logstash forwarder can not keep up with traffic

**URL:** <https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483>\
**Category:** Logstash\
**Created:** [July 25, 2018, 4:59am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483 "2018-07-25T04:59:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandipatmca](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sandipatmca](https://discuss.elastic.co/u/sandipatmca)\
**Post date:** [July 25, 2018, 4:59am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/1 "2018-07-25T04:59:16Z")

</div>

Logstash forwarder can not keep up with 10TPS traffic. After running traffic over the weekend at 19TPS split over 2 Core VMs, the forwarder took several hours to catch up (send the events queued). I suspect it to be a configuration issue since we are only sending 1024 events per second/run via the forwarder. Maybe we can change that to send more events per second/run. I stopped traffic at 9:49. The /var/log/logstash-forwarder/logstash-forwarder.err  
shows that it is still sending data at 12:17 and has not stopped yet. We are using Logstash version 5.1.2. Kindly assist

[root@CORE1 ~]# tail /var/log/logstash-forwarder/logstash-forwarder.err  
2017/02/13 12:16:56.834572 Registrar: processing 1024 events  
2017/02/13 12:16:58.229106 Registrar: processing 1024 events  
2017/02/13 12:16:59.361461 Registrar: processing 1024 events  
2017/02/13 12:17:00.781646 Registrar: processing 1024 events  
2017/02/13 12:17:02.233247 Registrar: processing 1024 events  
2017/02/13 12:17:03.735394 Registrar: processing 1024 events  
2017/02/13 12:17:05.434871 Registrar: processing 1024 events  
2017/02/13 12:17:06.716610 Registrar: processing 1024 events  
2017/02/13 12:17:08.392964 Registrar: processing 1024 events  
2017/02/13 12:17:10.113604 Registrar: processing 1024 events  
[root@CORE1 ~]# tail /var/log/logstash-forwarder/logstash-forwarder.err  
2017/02/13 12:17:00.781646 Registrar: processing 1024 events  
2017/02/13 12:17:02.233247 Registrar: processing 1024 events  
2017/02/13 12:17:03.735394 Registrar: processing 1024 events  
2017/02/13 12:17:05.434871 Registrar: processing 1024 events  
2017/02/13 12:17:06.716610 Registrar: processing 1024 events  
2017/02/13 12:17:08.392964 Registrar: processing 1024 events  
2017/02/13 12:17:10.113604 Registrar: processing 1024 events  
2017/02/13 12:17:11.550328 Registrar: processing 1024 events  
2017/02/13 12:17:13.108394 Registrar: processing 1024 events  
2017/02/13 12:17:14.706517 Registrar: processing 1024 events  
[root@CORE1 ~]#

It finally caught up at 18:26

[root@CORE1 ~]# tail /var/log/logstash-forwarder/logstash-forwarder.err  
2017/02/13 18:26:35.648608 Registrar: processing 1024 events  
2017/02/13 18:26:37.205799 Registrar: processing 1024 events  
2017/02/13 18:26:38.710270 Registrar: processing 1024 events  
2017/02/13 18:26:40.189578 Registrar: processing 1024 events  
2017/02/13 18:26:41.930550 Registrar: processing 1024 events  
2017/02/13 18:26:43.474398 Registrar: processing 1024 events  
2017/02/13 18:26:44.985647 Registrar: processing 1024 events  
2017/02/13 18:26:46.549380 Registrar: processing 1024 events  
2017/02/13 18:26:48.059527 Registrar: processing 1024 events  
2017/02/13 18:26:50.824500 Registrar: processing 104 events  
[root@CORE1 ~]#

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 25, 2018, 5:30am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/2 "2018-07-25T05:30:38Z")

</div>

Why are you still using logstash-forwarder? This was deprecated and replaced by [Filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/index.html) a long time ago.

---

<div class="post-metadata">

**Author:** ![sandipatmca](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sandipatmca](https://discuss.elastic.co/u/sandipatmca)\
**Post date:** [July 25, 2018, 5:48am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/3 "2018-07-25T05:48:21Z")

</div>

Hi Christian ,This is being used in my project .I have got ticket to solve this issue. Since I am new to logstash I need some pointers which could help me to fix this issue.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 25, 2018, 5:51am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/4 "2018-07-25T05:51:25Z")

</div>

I would recommend you switch to using Filebeat. Logstash-forwarder has not been maintained for over 3 years, and I have not used it since Filebeat was introduced.

Logstash-forwarder can only send events as fast as the receiving system can accept them. How do you know it is not Logstash or Elasticsearch that is limiting the throughput?

---

<div class="post-metadata">

**Author:** ![sandipatmca](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sandipatmca](https://discuss.elastic.co/u/sandipatmca)\
**Post date:** [July 25, 2018, 6:00am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/5 "2018-07-25T06:00:18Z")

</div>

> [@Christian\_Dahlqvist](#):
>
> only

I am not sure though. I started reading about Logstash-forwarder today only .I guess i have to read Elasticsearch and know about how both are inter-related:). But is there any pointer you would suggest like location of logstash config etc .May be the configuration in logstash doesnot allow logs to be consumed

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 25, 2018, 6:21am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/6 "2018-07-25T06:21:44Z")

</div>

Where are you getting the 10 and 19 TPS from? It looks like Logstash-forwarder is sending hundreds of events per second.

---

<div class="post-metadata">

**Author:** ![sandipatmca](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sandipatmca](https://discuss.elastic.co/u/sandipatmca)\
**Post date:** [July 25, 2018, 6:25am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/7 "2018-07-25T06:25:00Z")

</div>

The figure was given by performance test team.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 25, 2018, 6:28am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/8 "2018-07-25T06:28:21Z")

</div>

Then I would recommend you talk to them to clarify where it comes from. Do you have any monitoring installed?

---

<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:** [August 22, 2018, 6:28am UTC](https://discuss.elastic.co/t/logstash-forwarder-can-not-keep-up-with-traffic/141483/9 "2018-08-22T06:28:27Z")

</div>

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