# Storing Metrics in new ES index

**URL:** <https://discuss.elastic.co/t/storing-metrics-in-new-es-index/177737>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [April 20, 2019, 11:49pm UTC](https://discuss.elastic.co/t/storing-metrics-in-new-es-index/177737 "2019-04-20T23:49:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krish1](https://avatars.discourse-cdn.com/v4/letter/k/b5e925/32.png) [@krish1](https://discuss.elastic.co/u/krish1)\
**Post date:** [April 20, 2019, 11:49pm UTC](https://discuss.elastic.co/t/storing-metrics-in-new-es-index/177737/1 "2019-04-20T23:49:43Z")

</div>

I am new to rally and use the option where I store rally metrics to an elastic search cluster. Every time run a rally track it indexes the metrics to the same index that it created(for example for this month the name of the index is rally-metrics-2019-04). I have been using rally only this month but seems like all the benchmarks that I run this month will be stored in the same index. Is there a way to create a new index(preferably giving the index a custom name) every time I run a new benchmark? I have scouring the docs but couldn't find anything.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 21, 2019, 5:55am UTC](https://discuss.elastic.co/t/storing-metrics-in-new-es-index/177737/2 "2019-04-21T05:55:11Z")

</div>

That sounds like a very bad idea as it would lead to a lot of very small indices. Is having all results in a single index causing problems? Each run contains a unique identifier which you can use to filter when building Kibana dashboards.

---

<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:** [May 19, 2019, 5:55am UTC](https://discuss.elastic.co/t/storing-metrics-in-new-es-index/177737/3 "2019-05-19T05:55:30Z")

</div>

Closed on May 19, 2019, 5:55am UTC

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