# Performance of running ELK Stack on Docker or VM?

**URL:** <https://discuss.elastic.co/t/performance-of-running-elk-stack-on-docker-or-vm/241595>\
**Category:** Logstash\
**Created:** [July 17, 2020, 7:36am UTC](https://discuss.elastic.co/t/performance-of-running-elk-stack-on-docker-or-vm/241595 "2020-07-17T07:36:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eva\_cch](https://avatars.discourse-cdn.com/v4/letter/e/85f322/32.png) [@eva\_cch](https://discuss.elastic.co/u/eva_cch)\
**Post date:** [July 17, 2020, 7:36am UTC](https://discuss.elastic.co/t/performance-of-running-elk-stack-on-docker-or-vm/241595/1 "2020-07-17T07:36:12Z")

</div>

I have tried running ELK Stack on Docker in a CentOS 7 VM with 3 different Docker containers - Elasticsearch, Logstash and Kibana containers. It took me about an hour to run 625MB as per screenshot below whereby I have about 10GB of logs from 3 different sources.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/8/982fceeb0679959b206a8d86b5fcff63296fb245.jpeg)  
May I know is such performance normal? Will the performance be affected by setting ELK stack in a dockerized environment?

As for your information, I only made changes to the configuration file of Logstash but keep the default configurations in Kibana and Elasticsearch.

Screenshot below is the spec that I have assigned to the CentOS 7 VM.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/1/21b97e7c2af41290e400bb27917252a354d350f8.png)

Which one is the most suggested way of setting up a ELK stack? on VM or Docker?

---

<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:** [July 21, 2020, 12:15am UTC](https://discuss.elastic.co/t/performance-of-running-elk-stack-on-docker-or-vm/241595/2 "2020-07-21T00:15:46Z")

</div>

Welcome to our community! 😃

> [@eva\_cch](#):
>
> It took me about an hour to run 625MB

Do you mean it took that long to process to Elasticsearch?

---

<div class="post-metadata">

**Author:** ![eva\_cch](https://avatars.discourse-cdn.com/v4/letter/e/85f322/32.png) [@eva\_cch](https://discuss.elastic.co/u/eva_cch)\
**Post date:** [July 21, 2020, 2:38am UTC](https://discuss.elastic.co/t/performance-of-running-elk-stack-on-docker-or-vm/241595/3 "2020-07-21T02:38:49Z")

</div>

Yes. Is this normal?

---

<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:** [August 18, 2020, 2:39am UTC](https://discuss.elastic.co/t/performance-of-running-elk-stack-on-docker-or-vm/241595/4 "2020-08-18T02:39:21Z")

</div>

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