# Does file input plugin support backpressure

**URL:** <https://discuss.elastic.co/t/does-file-input-plugin-support-backpressure/378035>\
**Category:** Logstash\
**Created:** [May 12, 2025, 11:35am UTC](https://discuss.elastic.co/t/does-file-input-plugin-support-backpressure/378035 "2025-05-12T11:35:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Anandh\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anandh_kumar/32/82028_2.png) [@Anandh\_Kumar](https://discuss.elastic.co/u/Anandh_Kumar)\
**Post date:** [May 12, 2025, 1:44pm UTC](https://discuss.elastic.co/t/does-file-input-plugin-support-backpressure/378035/5 "2025-05-12T13:44:39Z")

</div>

I probably generalised it too soon based on some chatgpt responses, but below forums talk about how filebeat has clear backpressure and a kind of circuitbreaker mechanism and also log the backpressure onset, whilst certain other inputs do not support backpressure. They do not talk about file input in specific though.

> <https://github.com/elastic/logstash/issues/5317>
>
> Although in most scenarios logstash correctly applies back pressure to the input…s, only in the case of beats input that backpressure is signalled in the logs.
> 
> For sizing/scalling purposes, it'd be very helpful to get warnings from logstash about backpressure.

> [@Where do incoming events go when Logstash is cpu-bound?](https://discuss.elastic.co/t/where-do-incoming-events-go-when-logstash-is-cpu-bound/65197):
>
> Hi, I have a logstash instance which is taking in quite a bit of traffic via the tcp input. Logstash is currently cpu-bound on this particular server, which I understand is not at all an unusual situation. By cpu-bound I mean that I have six CPUs on my server, 6 worker threads, and each worker thread is using 95-100% of CPU time (one worker thread per CPU). Memory utilization and I/O are on the low side. I'd like to better understand what exactly is going on when CPU bound. I assume that, sinc…

---

_[View the full topic](https://discuss.elastic.co/t/does-file-input-plugin-support-backpressure/378035)._
