# Hability to create daily index to metricbeat

**URL:** <https://discuss.elastic.co/t/hability-to-create-daily-index-to-metricbeat/299302>\
**Category:** Beats\
**Tags:** ilm-index-lifecycle-management, metricbeat\
**Created:** [March 10, 2022, 8:00am UTC](https://discuss.elastic.co/t/hability-to-create-daily-index-to-metricbeat/299302 "2022-03-10T08:00:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![gerardgorrion](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gerardgorrion/32/85495_2.png) [@gerardgorrion](https://discuss.elastic.co/u/gerardgorrion)\
**Post date:** [March 15, 2022, 9:31am UTC](https://discuss.elastic.co/t/hability-to-create-daily-index-to-metricbeat/299302/5 "2022-03-15T09:31:01Z")

</div>

Thanks! we configure this lines into beat config and work fine now!

```auto
    setup.template.name: "metricbeat"
    setup.template.pattern: "metricbeat-*"
    setup.ilm.enabled: false
    output:
      elasticsearch:
        index: "metricbeat-%{[agent.version]}-monitoring-%{+yyyy.MM.dd}"

```

Now, we only need to monitoring logstash agents, apm-server and resolve the [incident](https://discuss.elastic.co/t/metricbeat-kibana-no-stable/299091) with kibana, and we wil finish the migration to metricbeat monitoring.

---

_[View the full topic](https://discuss.elastic.co/t/hability-to-create-daily-index-to-metricbeat/299302)._
