# Only want alias field name showing in Kibana visualization aggregation drop down list, and need to hide the actual field name from drop down list

**URL:** <https://discuss.elastic.co/t/only-want-alias-field-name-showing-in-kibana-visualization-aggregation-drop-down-list-and-need-to-hide-the-actual-field-name-from-drop-down-list/251473>\
**Category:** Kibana\
**Created:** [October 8, 2020, 3:27pm UTC](https://discuss.elastic.co/t/only-want-alias-field-name-showing-in-kibana-visualization-aggregation-drop-down-list-and-need-to-hide-the-actual-field-name-from-drop-down-list/251473 "2020-10-08T15:27:43Z")\
**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:** [October 8, 2020, 3:27pm UTC](https://discuss.elastic.co/t/only-want-alias-field-name-showing-in-kibana-visualization-aggregation-drop-down-list-and-need-to-hide-the-actual-field-name-from-drop-down-list/251473/1 "2020-10-08T15:27:43Z")

</div>

I have some questions about alias fields in Kibana.

I have created a set of aliases on the actual ES field name, like the table below. But in Kibana, I only want to see those alias names ( **ES Alias Name column** ) appear in the Kibana’s visualization, but not the actual field name. But right now, in the Kibana’s aggregation dropdown list, I only can see all the fields in the “Actual field name” column, and both alias fields and the actual fields fpr the number and date type fields from the “ES Alias Name” column. Just wondering is there a way to only show the alias name is the drop down list? I think it is related how I do the field mapping, so I actually attached the sample field mapping also

| **Actual field name** | **ES Alias Name** | **type** |
| --- | --- | --- |
| prefix\_record\_id | **record\_id** | string |
| **prefix\_file\_size** | **file\_size** | **number** |
| **prefix\_created\_time** | **Created\_Time** | **Date** |
| **prefix\_method\_start\_time** | **Method\_Start\_Time** | **Date** |
| **prefix\_modified\_time** | **Modified\_Time** | **Date** |
| prefix\_file\_name | **file\_name** | string |
| prefix\_file\_path | **file\_path** | string |
| prefix\_file\_type | **FileType** | string |
| prefix\_sender\_name | **SenderName** | string |
| | | |

Kibana Visualisation Dropdownlist  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/9/69578e426b7cb08159d3e9c5295ae17844f02f82.png)

**Field mapping**

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

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [October 9, 2020, 9:55am UTC](https://discuss.elastic.co/t/only-want-alias-field-name-showing-in-kibana-visualization-aggregation-drop-down-list-and-need-to-hide-the-actual-field-name-from-drop-down-list/251473/2 "2020-10-09T09:55:31Z")

</div>

Hi Kenneth,

Currently there is no way. Since there could be multiple alias pointing to the same actual field, we don't know which one would be the one we should show, so it's always showing the actual field name.

But we're working on making this configurable, so that in the future you can specify any field name to be shown in Kibana (not just the ES alias names). You can follow that via the issue [https://github.com/elastic/kibana/issues/69908](https://github.com/elastic/kibana/issues/69908) and we're expecting to release this in one of the upcoming minor versions of Kibana.

Cheers,  
Tim

---

<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:** [October 13, 2020, 9:34am UTC](https://discuss.elastic.co/t/only-want-alias-field-name-showing-in-kibana-visualization-aggregation-drop-down-list-and-need-to-hide-the-actual-field-name-from-drop-down-list/251473/3 "2020-10-13T09:34:44Z")

</div>

Hi,

I can actually see both alias name and actual field name for date, and number type. I wonder why the alias string name is not showing, we set the actual string field name as "keyword", is there something we have to do to make the "alias" string type name visible in the Kibana visualization too.

Kenneth

---

<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 10, 2020, 9:34am UTC](https://discuss.elastic.co/t/only-want-alias-field-name-showing-in-kibana-visualization-aggregation-drop-down-list-and-need-to-hide-the-actual-field-name-from-drop-down-list/251473/4 "2020-11-10T09:34:55Z")

</div>

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