# APM Index Pattern is created automatically in Kibana

**URL:** https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404
**Category:** APM
**Tags:** docker, ui
**Created:** [November 4, 2021, 12:16pm UTC](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404 "2021-11-04T12:16:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![RdrgPorto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rdrgporto/32/13278_2.png) [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)
#### Post date: [November 4, 2021, 12:16pm UTC](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404/1 "2021-11-04T12:16:01Z")

</div>

**Kibana version** : 7.14.2

**Elasticsearch version** : 7.14.2

**APM Server version** : 7.14.2

**APM Agent language and version** : NodeJS ^3.17.0

**Browser version** : Microsoft Edge 95.0.1020.40

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: Kubernetes with official Docker image [docker.elastic.co/apm/apm-server:7.14.2](http://docker.elastic.co/apm/apm-server:7.14.2)

**Fresh install or upgraded from other version?** Upgraded from 7.9.2

**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.

APM Server --\> Apache Kafka --\> Logstash --\> Elasticsearch

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

Hi, everyone

I have configured Kibana with the follow configuration:

```auto
apm_oss.indexPattern: "apm-*"
apm_oss.errorIndices: "apm-*"
apm_oss.onboardingIndices: "apm-*"
apm_oss.spanIndices: "apm-*"
apm_oss.transactionIndices: "apm-*"
apm_oss.metricsIndices: "apm-*"
apm_oss.sourcemapIndices: "apm-*"

```

However, there is an index\_pattern created which is called ` traces-apm*,logs-apm*,metrics-apm*,apm-*`. If I remove this index\_pattern, it is created again when I enter in APM section.

Is it normal this kind of behaviour ?

Thanks in advance,

Rodrigo

---

<div class="post-metadata">

### Author: ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)
#### Post date: [November 4, 2021, 1:09pm UTC](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404/2 "2021-11-04T13:09:59Z")

</div>

Hi there,

Yes, this is the expected behaviour. If you don't want this you can disable it with this config:

```auto
xpack.apm.autocreateApmIndexPattern: false

```

Furthermore, I've created [an issue](https://github.com/elastic/kibana/issues/117143) to set a human-readable title for the index pattern. If the index pattern was called "APM UI" would that improve the experience?

---

<div class="post-metadata">

### Author: ![RdrgPorto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rdrgporto/32/13278_2.png) [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)
#### Post date: [November 4, 2021, 1:58pm UTC](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404/3 "2021-11-04T13:58:16Z")

</div>

> [@sqren](#):
>
> `xpack.apm.autocreateApmIndexPattern`

Hi,

Thank very much 😃. Should this setting be added to [APM settings in Kibana](https://www.elastic.co/guide/en/kibana/7.14/apm-settings-kb.html) doc?

Regarding your question, I would rather **apm-ui**. However, in my opinion, it would be nice to **configure all these features in kibana.yml** in order to **get a GitOps culture**.

Regards 🖖

---

<div class="post-metadata">

### Author: ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)
#### Post date: [November 4, 2021, 2:20pm UTC](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404/4 "2021-11-04T14:20:08Z")

</div>

> Should this setting be added to [APM settings in Kibana](https://www.elastic.co/guide/en/kibana/7.14/apm-settings-kb.html) doc?

Good idea, it probably should! Would you mind [opening an issue](https://github.com/elastic/kibana/issues/new?assignees=&labels=Team%3Aapm&template=APM.yml&title=%5BAPM%5D+) to propose this?

Thanks!

---

<div class="post-metadata">

### Author: ![RdrgPorto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rdrgporto/32/13278_2.png) [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)
#### Post date: [November 5, 2021, 7:33am UTC](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404/5 "2021-11-05T07:33:34Z")

</div>

Hi,

I just created the issue [#117618](https://github.com/elastic/kibana/issues/117618).

Thanks,

Regards

---

<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: [November 26, 2021, 3:33am UTC](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404/6 "2021-11-26T03:33:49Z")

</div>

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