# Enable dynamic index for metricbeat index

**URL:** <https://discuss.elastic.co/t/enable-dynamic-index-for-metricbeat-index/216802>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 28, 2020, 10:00am UTC](https://discuss.elastic.co/t/enable-dynamic-index-for-metricbeat-index/216802 "2020-01-28T10:00:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kasim123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kasim123/32/58684_2.png) [@kasim123](https://discuss.elastic.co/u/kasim123)\
**Post date:** [January 28, 2020, 10:00am UTC](https://discuss.elastic.co/t/enable-dynamic-index-for-metricbeat-index/216802/1 "2020-01-28T10:00:03Z")

</div>

I have implemented EFK stack using helm chart and after few days I installed metric beat in kuberentes cluster, right now we are getting metric and it is visible in kibana UI. However, we noticed only one metricbeat index being created and it's size is more than 30GB. We wanted to enable dynamic index for metricbeat. Could you help us how to define dynamic index for metric-beat. We are using fluent-bti as agent on worker nodes. Do we have to add another OUTPUT section for metricbeat?

Thanks,  
Kasim

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [January 28, 2020, 12:52pm UTC](https://discuss.elastic.co/t/enable-dynamic-index-for-metricbeat-index/216802/2 "2020-01-28T12:52:21Z")

</div>

Hi!

The [docs](https://www.elastic.co/guide/en/beats/metricbeat/6.8/ilm.html) might cover your needs, so could you check there and try with the provided examples/information?

C.

---

<div class="post-metadata">

**Author:** ![kasim123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kasim123/32/58684_2.png) [@kasim123](https://discuss.elastic.co/u/kasim123)\
**Post date:** [January 29, 2020, 5:54am UTC](https://discuss.elastic.co/t/enable-dynamic-index-for-metricbeat-index/216802/3 "2020-01-29T05:54:18Z")

</div>

Thanks for the reply. I already deployed elastic search as Statefulset object. Where should i change to enabled Index lifecycle management as per the doc? Can i run those commands from kibana console?

Thanks  
Kasim Shaik.

---

<div class="post-metadata">

**Author:** ![kasim123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kasim123/32/58684_2.png) [@kasim123](https://discuss.elastic.co/u/kasim123)\
**Post date:** [February 8, 2020, 4:33pm UTC](https://discuss.elastic.co/t/enable-dynamic-index-for-metricbeat-index/216802/4 "2020-02-08T16:33:05Z")

</div>

Hi Team,

I am waiting for your reply.

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [February 24, 2020, 10:01am UTC](https://discuss.elastic.co/t/enable-dynamic-index-for-metricbeat-index/216802/5 "2020-02-24T10:01:47Z")

</div>

Hi!

No you cannot run it from Kibana as far as I know. These settings are being set-up by Metricbeat as docs indicate. Please have a closer look and give them a try and if you have problems running them feel free to ask.

Regards,  
C.

---

<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:** [March 23, 2020, 10:01am UTC](https://discuss.elastic.co/t/enable-dynamic-index-for-metricbeat-index/216802/6 "2020-03-23T10:01:53Z")

</div>

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