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
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 and we're expecting to release this in one of the upcoming minor versions of Kibana.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.