# Logstash is taking high cpu

**URL:** <https://discuss.elastic.co/t/logstash-is-taking-high-cpu/326316>\
**Category:** Logstash\
**Created:** [February 23, 2023, 11:25am UTC](https://discuss.elastic.co/t/logstash-is-taking-high-cpu/326316 "2023-02-23T11:25:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![divya.m](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@divya.m](https://discuss.elastic.co/u/divya.m)\
**Post date:** [February 23, 2023, 11:25am UTC](https://discuss.elastic.co/t/logstash-is-taking-high-cpu/326316/1 "2023-02-23T11:25:31Z")

</div>

Without any load consistently logstash is using 46% of CPU, after performance load testing logstash cpu is high

root@::~ $ docker logs XXXXX | grep -i "2023-02-23 10:57" | wc  
86 1238 18546

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [February 23, 2023, 2:00pm UTC](https://discuss.elastic.co/t/logstash-is-taking-high-cpu/326316/2 "2023-02-23T14:00:24Z")

</div>

It is not clear what is your issue, you need to provide more context.

What does your logstash configuration looks like? What is the source of your data? Do you have anything in Logstash logs?

---

<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 23, 2023, 2:00pm UTC](https://discuss.elastic.co/t/logstash-is-taking-high-cpu/326316/3 "2023-03-23T14:00:30Z")

</div>

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