# Logstash high CPU usage with no running config

**URL:** <https://discuss.elastic.co/t/logstash-high-cpu-usage-with-no-running-config/76272>\
**Category:** Logstash\
**Created:** [February 23, 2017, 5:22pm UTC](https://discuss.elastic.co/t/logstash-high-cpu-usage-with-no-running-config/76272 "2017-02-23T17:22:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![orhiee](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@orhiee](https://discuss.elastic.co/u/orhiee)\
**Post date:** [February 23, 2017, 5:22pm UTC](https://discuss.elastic.co/t/logstash-high-cpu-usage-with-no-running-config/76272/1 "2017-02-23T17:22:00Z")

</div>

hello,

Yesterday i installed elk on my laptop as a vm, so i have a local server to play with when i go home from work 🙂

its centos 7 x64 with elk all 5.2.1 and the latest java as of yesterday.

i already have a elk setup as development at work so i just created another output filter on my work server (logstash) to push the logs to my laptop on port 9200

i get the logs but when logstash service is running the cpu hits 80 percent on average, if i stop the service the cpu falls to 20 percent.

i dont get it, the logstash on the laptop isnt supposed be doing anything 😕 any ideas ?

ps one additional question, when i disconnect my laptop (work server logstash cant reach it ) it stops writing logs to work elk too, arent outputs considered like a pool so why is a new unreachable output is effecting the old one ?

work elk: centos 7 with ELK  
laptop: centos 7 with ELK

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 24, 2017, 9:22am UTC](https://discuss.elastic.co/t/logstash-high-cpu-usage-with-no-running-config/76272/2 "2017-02-24T09:22:49Z")

</div>

What's the config look like?  
Do you have Monitoring enabled?

---

<div class="post-metadata">

**Author:** ![orhiee](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@orhiee](https://discuss.elastic.co/u/orhiee)\
**Post date:** [February 24, 2017, 10:43am UTC](https://discuss.elastic.co/t/logstash-high-cpu-usage-with-no-running-config/76272/3 "2017-02-24T10:43:10Z")

</div>

for the logstash on the laptop there is no config and thats what i find interesting, data pushed directly from another logstash to the Elasticsearch on the laptop vm 😕

i dont have monitoring enabled

---

<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 24, 2017, 10:43am UTC](https://discuss.elastic.co/t/logstash-high-cpu-usage-with-no-running-config/76272/4 "2017-03-24T10:43:13Z")

</div>

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