# Speeding up Logstash using Docker

**URL:** <https://discuss.elastic.co/t/speeding-up-logstash-using-docker/90643>\
**Category:** Logstash\
**Created:** [June 23, 2017, 1:08pm UTC](https://discuss.elastic.co/t/speeding-up-logstash-using-docker/90643 "2017-06-23T13:08:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CDR](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@CDR](https://discuss.elastic.co/u/CDR)\
**Post date:** [June 23, 2017, 1:08pm UTC](https://discuss.elastic.co/t/speeding-up-logstash-using-docker/90643/1 "2017-06-23T13:08:40Z")

</div>

Hello,

I am currently using Docker to run the ELK stack. I have used Vagrant and a dedicated as two other methods to run the stack. Both of those have allowed for fairly quick parsing of logs. I am investigating as to whether Docker would be a useful method of deploying the stack on machines. The problem is that logstash is a lot slower on Docker vs these other methods. I know that I can up the CPU and memory settings that a container gets to use but can't seem to figure out which settings I need to set to speed it up. Any advise?

Thanks!

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 24, 2017, 7:12pm UTC](https://discuss.elastic.co/t/speeding-up-logstash-using-docker/90643/2 "2017-06-24T19:12:23Z")

</div>

Docker itself shouldn't have a detrimental performance effect on Logstash. By default I don't believe containers are restricted in any way. How are you starting the containers? How are you measuring the performance?

---

<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 22, 2017, 7:12pm UTC](https://discuss.elastic.co/t/speeding-up-logstash-using-docker/90643/3 "2017-07-22T19:12:27Z")

</div>

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