# Elasticsearch + logstash space requirements

**URL:** <https://discuss.elastic.co/t/elasticsearch-logstash-space-requirements/27972>\
**Category:** Elasticsearch\
**Created:** [August 24, 2015, 6:36pm UTC](https://discuss.elastic.co/t/elasticsearch-logstash-space-requirements/27972 "2015-08-24T18:36:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![imad](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@imad](https://discuss.elastic.co/u/imad)\
**Post date:** [August 24, 2015, 6:36pm UTC](https://discuss.elastic.co/t/elasticsearch-logstash-space-requirements/27972/1 "2015-08-24T18:36:21Z")

</div>

Hi,

I am planning to use elasticsearch + logstash with my couchdb on same server. I just wanted to check if installing elasticsearch + logstash on same server should be fine or not? Our web application is expected to have around 60/70 thousand records. What would be a recommended amount of storage that should be allocated for elastics search in my case considering the amount of data and same sever senerio ?

Many thanks,  
Imad.

---

<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:** [August 24, 2015, 6:48pm UTC](https://discuss.elastic.co/t/elasticsearch-logstash-space-requirements/27972/2 "2015-08-24T18:48:54Z")

</div>

> I just wanted to check if installing elasticsearch + logstash on same server should be fine or not?

That should be fine in most cases. Obviously, with high load they're going to compete for CPU and RAM which might not be ideal.

> Our web application is expected to have around 60/70 thousand records. What would be a recommended amount of storage that should be allocated for elastics search in my considering the amount of data and same sever senerio ?

That depends on the size of each document and how you're going to map its fields.

---

<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:** [August 24, 2015, 9:54pm UTC](https://discuss.elastic.co/t/elasticsearch-logstash-space-requirements/27972/3 "2015-08-24T21:54:42Z")

</div>

We don't recommend running ES on the same host as something like Cassandra due to potential resource contention issues.

---

<div class="post-metadata">

**Author:** ![imad](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@imad](https://discuss.elastic.co/u/imad)\
**Post date:** [August 26, 2015, 2:55pm UTC](https://discuss.elastic.co/t/elasticsearch-logstash-space-requirements/27972/4 "2015-08-26T14:55:02Z")

</div>

@warkolm, is it due to java, since that is memory intensive or it is due to something else. Are there any configuration options to limit memory usage by ES and fine tune performance.

Just wondering if lucene can be the alternate option if its low on memory consumption (but that also uses java).

---

<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:** [August 27, 2015, 12:59am UTC](https://discuss.elastic.co/t/elasticsearch-logstash-space-requirements/27972/5 "2015-08-27T00:59:20Z")

</div>

It's a bit of both, Cassandra and ES are both resource heavy so you'll run into CPU/IO/memory contention at some point, and no amount of tuning will really help.

---

<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 5, 2017, 11:53pm UTC](https://discuss.elastic.co/t/elasticsearch-logstash-space-requirements/27972/6 "2017-07-05T23:53:39Z")

</div>


