# Updated field using mapping API does not show in index pattern

**URL:** <https://discuss.elastic.co/t/updated-field-using-mapping-api-does-not-show-in-index-pattern/273708>\
**Category:** Beats\
**Tags:** functionbeat\
**Created:** [May 21, 2021, 10:35pm UTC](https://discuss.elastic.co/t/updated-field-using-mapping-api-does-not-show-in-index-pattern/273708 "2021-05-21T22:35:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terry\_Tuna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/terry_tuna/32/88755_2.png) [@Terry\_Tuna](https://discuss.elastic.co/u/Terry_Tuna)\
**Post date:** [May 21, 2021, 10:35pm UTC](https://discuss.elastic.co/t/updated-field-using-mapping-api-does-not-show-in-index-pattern/273708/1 "2021-05-21T22:35:56Z")

</div>

Hi,

I'm using the mapping API to add a field onto my functionbeat index, named message\_visual, which is shown when I made a GET request of the mapping.

 ![Screenshot from 2021-05-21 15-29-42](https://us1.discourse-cdn.com/elastic/original/3X/3/6/36ca21d4c79f3a5418df02c6879cd89d498cbaeb.png)

But the index doesn't show up when I try to look for it on my index pattern.

 ![Screenshot from 2021-05-21 15-31-54](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9f73f4b6d556fcfd6db7405090866990250ea484.png)

I know that even empty fields are shown here in the index pattern or when we are trying to perform data visualization. Any ideas why this is happening? I'm trying to dissect another field's raw string, decode it as JSON and put it in this added field. Please let me know what I can do about this. Thank you

---

<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:** [June 19, 2021, 12:36am UTC](https://discuss.elastic.co/t/updated-field-using-mapping-api-does-not-show-in-index-pattern/273708/2 "2021-06-19T00:36:17Z")

</div>

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