# Missing APM mappings

**URL:** <https://discuss.elastic.co/t/missing-apm-mappings/256482>\
**Category:** APM\
**Tags:** server\
**Created:** [November 24, 2020, 10:05am UTC](https://discuss.elastic.co/t/missing-apm-mappings/256482 "2020-11-24T10:05:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![willemdh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willemdh/32/16922_2.png) [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Post date:** [November 24, 2020, 10:05am UTC](https://discuss.elastic.co/t/missing-apm-mappings/256482/1 "2020-11-24T10:05:37Z")

</div>

Hello,

Elastic 7.9.2.

Several fields in the apm indices do not seem to have any mapping. For example (subset):

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/6/562df3c3e2e8470b6d50b92f3391f112fca73415.png)

Imho, it would be nice if these fields would get a decent mapping, so we can use them to build visualisations etc. Is this on Elastic's to do or are we supposed to provide this ourselves?

Grtz

Willem

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [November 24, 2020, 10:27am UTC](https://discuss.elastic.co/t/missing-apm-mappings/256482/2 "2020-11-24T10:27:34Z")

</div>

Hi @willemdh,

not indexing the HTTP request and response headers by default was a conscious decision to avoid indexing a potentially large number of fields that don't need to be queried by the APM UI.

It is possible though to enable dynamic mappings for these fields, by setting [`setup.template.append_fields`](https://www.elastic.co/guide/en/apm/server/current/configuration-template.html) in the `apm-server.yml`.  
You can also find more details about this in a [previous discuss post](https://discuss.elastic.co/t/apm-index-not-refreshing-in-kibana-getting-mapper-exception/243063/5).

---

<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:** [December 15, 2020, 6:27am UTC](https://discuss.elastic.co/t/missing-apm-mappings/256482/3 "2020-12-15T06:27:34Z")

</div>

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