# Why alias field name does not show in discover mode, and index pattern has created

**URL:** <https://discuss.elastic.co/t/why-alias-field-name-does-not-show-in-discover-mode-and-index-pattern-has-created/257087>\
**Category:** Kibana\
**Created:** [November 30, 2020, 3:07pm UTC](https://discuss.elastic.co/t/why-alias-field-name-does-not-show-in-discover-mode-and-index-pattern-has-created/257087 "2020-11-30T15:07:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![qub123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qub123/32/55327_2.png) [@qub123](https://discuss.elastic.co/u/qub123)\
**Post date:** [November 30, 2020, 3:07pm UTC](https://discuss.elastic.co/t/why-alias-field-name-does-not-show-in-discover-mode-and-index-pattern-has-created/257087/1 "2020-11-30T15:07:37Z")

</div>

I have 24 actual fields in each document, and also with alias on each actual field name, so in total 24 aliases with string , number and date type.

I also have created index pattern for that, but I am not sure why I am not able to see all my alias name in discover mode from the selected index pattern, but only actual field name, and I only see three aliases with "date" type appeared in the discover mode , not the string type and the rest.

Does anyone know why? Is it related to the way I create the index pattern or related to the fiel mapping?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [November 30, 2020, 3:52pm UTC](https://discuss.elastic.co/t/why-alias-field-name-does-not-show-in-discover-mode-and-index-pattern-has-created/257087/2 "2020-11-30T15:52:26Z")

</div>

Can you post some more info? And screenshots as well?

---

<div class="post-metadata">

**Author:** ![qub123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qub123/32/55327_2.png) [@qub123](https://discuss.elastic.co/u/qub123)\
**Post date:** [November 30, 2020, 4:21pm UTC](https://discuss.elastic.co/t/why-alias-field-name-does-not-show-in-discover-mode-and-index-pattern-has-created/257087/3 "2020-11-30T16:21:01Z")

</div>

Hi,

I have created our field mapping in the devtool, and below show a segment on how our field mapping looks like. In the picture below you can see that the Activity\_Name, Activity\_Type, Created\_Time are the aliases of **prefix\_activity\_name** , **prefix\_activity\_type** , **prefix\_created\_time**.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a7c6e923d7e2bb6356a44780c9d4b80583196e74.png)

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/2/02a2e97e08f9d2e25e3ca03a922628bef72fda90.png)

Most of my aliases are not shown up in the "Available fields" section in "Discover", the only alias that show up on the "Available field" are those with Date type, and only the actual field name available in the "Available fields"

I have written more explanation in the screenshot.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/7/d77542ce5d07e20f05e940aa70397d80119f7508.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:** [December 28, 2020, 4:21pm UTC](https://discuss.elastic.co/t/why-alias-field-name-does-not-show-in-discover-mode-and-index-pattern-has-created/257087/4 "2020-12-28T16:21:12Z")

</div>

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