# How many indices / shards for graylog

**URL:** <https://discuss.elastic.co/t/how-many-indices-shards-for-graylog/290734>\
**Category:** Elasticsearch\
**Created:** [December 2, 2021, 6:55am UTC](https://discuss.elastic.co/t/how-many-indices-shards-for-graylog/290734 "2021-12-02T06:55:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lkeijser](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lkeijser/32/97964_2.png) [@lkeijser](https://discuss.elastic.co/u/lkeijser)\
**Post date:** [December 2, 2021, 6:55am UTC](https://discuss.elastic.co/t/how-many-indices-shards-for-graylog/290734/1 "2021-12-02T06:55:52Z")

</div>

Hi there,

I'm running Graylog which uses Elasticsearch as backend. RIght now we have about 1.5TB data (about 2 weeks of logging) and I've created 10G indices (about 120 in total, I expect, it's still a process) and 4 shards. Is this a sane number? How can I find out what the best settings for indices (size) and shards are?

kind regards,

Léon

---

<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:** [December 2, 2021, 7:00am UTC](https://discuss.elastic.co/t/how-many-indices-shards-for-graylog/290734/2 "2021-12-02T07:00:19Z")

</div>

I'd probably go for 3 primary, keeps it under the 50GB max recommendation and gives you room to grow.

---

<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:** [December 30, 2021, 7:00am UTC](https://discuss.elastic.co/t/how-many-indices-shards-for-graylog/290734/3 "2021-12-30T07:00:57Z")

</div>

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