# Metricbeat index don't increment

**URL:** <https://discuss.elastic.co/t/metricbeat-index-dont-increment/185895>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [June 14, 2019, 5:35pm UTC](https://discuss.elastic.co/t/metricbeat-index-dont-increment/185895 "2019-06-14T17:35:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigster](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bigster](https://discuss.elastic.co/u/bigster)\
**Post date:** [June 14, 2019, 5:35pm UTC](https://discuss.elastic.co/t/metricbeat-index-dont-increment/185895/1 "2019-06-14T17:35:29Z")

</div>

Hi all,

I've configured by metricbeat with ilm.enabled: true but i've got only a single index created.  
The default should be "{now/d}-000001" but only an index was created.  
The problem with this is that the policy freeze my index and metricbeat can't write to a frozen index.

For now i unfreeze the index but what's wrong with my configuration?

I'm using metricbeat 6.7.1

Cheers

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [June 18, 2019, 8:49am UTC](https://discuss.elastic.co/t/metricbeat-index-dont-increment/185895/2 "2019-06-18T08:49:07Z")

</div>

Hi @bigster ! 🙂

Can you share your configuration file, please? I also guess that you have followed the guide here [https://www.elastic.co/guide/en/beats/metricbeat/6.7/ilm.html](https://www.elastic.co/guide/en/beats/metricbeat/6.7/ilm.html)

I guess that you are also using Elasticsearch 6.7

Thanks!

---

<div class="post-metadata">

**Author:** ![bigster](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bigster](https://discuss.elastic.co/u/bigster)\
**Post date:** [June 18, 2019, 9:31am UTC](https://discuss.elastic.co/t/metricbeat-index-dont-increment/185895/3 "2019-06-18T09:31:48Z")

</div>

Hi,

I don't know if you want all the file but basically the thing important to this issue is the config below:

```
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["elasticp01:9200", "elasticp02:9200"]

  # Enabled ilm (beta) to use index lifecycle management instead daily indices.
  ilm.enabled: true

  # Optional protocol and basic auth credentials.
  #protocol: "https"
  #username: "elastic"
  #password: "changeme"

```

Yes i follow the explanations, but maybe i get a different interpretation about the setup.  
Yes i use Elasticsearch 6.7.1.

Cheers,

---

<div class="post-metadata">

**Author:** ![bigster](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bigster](https://discuss.elastic.co/u/bigster)\
**Post date:** [July 9, 2019, 1:48pm UTC](https://discuss.elastic.co/t/metricbeat-index-dont-increment/185895/4 "2019-07-09T13:48:38Z")

</div>

No one have any idea why this happens?

---

<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:** [August 6, 2019, 1:48pm UTC](https://discuss.elastic.co/t/metricbeat-index-dont-increment/185895/5 "2019-08-06T13:48:41Z")

</div>

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