# Logstash agent CPU spikes up to 100%

**URL:** <https://discuss.elastic.co/t/logstash-agent-cpu-spikes-up-to-100/31317>\
**Category:** Logstash\
**Created:** [September 29, 2015, 9:15am UTC](https://discuss.elastic.co/t/logstash-agent-cpu-spikes-up-to-100/31317 "2015-09-29T09:15:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Augustin\_Chen](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Augustin\_Chen](https://discuss.elastic.co/u/Augustin_Chen)\
**Post date:** [September 29, 2015, 9:15am UTC](https://discuss.elastic.co/t/logstash-agent-cpu-spikes-up-to-100/31317/1 "2015-09-29T09:15:46Z")

</div>

I install the redis + logstsh indexer + elasticserch + kibana.  
In each of my application server, the logstash agent is installed to pick up the logs.  
Some of my logstash agent CPU spike up to 100%, some don't.  
Is there a tool that can be used to diagnose what is logstash agent busy on?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 29, 2015, 9:41am UTC](https://discuss.elastic.co/t/logstash-agent-cpu-spikes-up-to-100/31317/2 "2015-09-29T09:41:08Z")

</div>

We're working on a way to monitor Logstash's internal performance. We'll have metrics per second, per plugin, etc. This is targeted for Logstash 2.1 to 2.2, hopefully.

Sorry for the blind spot right now.

---

<div class="post-metadata">

**Author:** ![Augustin\_Chen](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Augustin\_Chen](https://discuss.elastic.co/u/Augustin_Chen)\
**Post date:** [September 30, 2015, 6:51am UTC](https://discuss.elastic.co/t/logstash-agent-cpu-spikes-up-to-100/31317/3 "2015-09-30T06:51:25Z")

</div>

This will be cool feature, I am looking forward to it.

---

<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:** [July 6, 2017, 5:27am UTC](https://discuss.elastic.co/t/logstash-agent-cpu-spikes-up-to-100/31317/4 "2017-07-06T05:27:43Z")

</div>

Closed on July 6, 2017, 5:27am UTC


