# Not getting index with docker module

**URL:** <https://discuss.elastic.co/t/not-getting-index-with-docker-module/282075>\
**Category:** Beats\
**Tags:** docker, metricbeat\
**Created:** [August 20, 2021, 12:42pm UTC](https://discuss.elastic.co/t/not-getting-index-with-docker-module/282075 "2021-08-20T12:42:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trung\_Dam1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trung_dam1/32/78772_2.png) [@Trung\_Dam1](https://discuss.elastic.co/u/Trung_Dam1)\
**Post date:** [August 20, 2021, 12:42pm UTC](https://discuss.elastic.co/t/not-getting-index-with-docker-module/282075/1 "2021-08-20T12:42:56Z")

</div>

Hi everyone,  
I am new to using elasticsearch  
I have a problem with metricbeat specifically with the docker module  
With the configuration as below I have renamed the index with the event.moudle field which will change the name to another index but, I am not getting any docker related index, I have enabled the moudle system and it works fine.  
Can someone help me?

```auto
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["10.10.1.13:9200"]
  indices:
    - index: "metricbeat-ipp-prod-worker1-metric-%{[agent.version]}-%{+yyyy.MM.dd}"
      when.equals:
        event.module: "system"
    - index: "metricbeat-ipp-prod-worker1-docker-%{[agent.version]}-%{+yyyy.MM.dd}"
      when.equals:
        event.module: "docker"

```

```auto

# ======================= Elasticsearch template setting =======================#
setup.ilm.enabled: false #DISABLE Index managerment
setup.template.name: "metricbeat-ipp-prod-worker1"
setup.template.pattern: "metricbeat-ipp-prod-worker1-*"
setup.template.settings:
  index.number_of_shards: 1
  index.codec: best_compression
  #_source.enabled: false

```

 ![Untitled](https://us1.discourse-cdn.com/elastic/original/3X/4/7/4759a1966bb86a364ce1d868757e3f3d8df39437.png)

---

<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:** [September 17, 2021, 2:43pm UTC](https://discuss.elastic.co/t/not-getting-index-with-docker-module/282075/2 "2021-09-17T14:43:35Z")

</div>

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