I have a field of type String holding the country code of the request (2 letters, ISO 3166-1 alpha-2 format). I'd like Kibana to show the full name of the country rather the two letters. Is there a formatter that does that?
Thanks!
I have a field of type String holding the country code of the request (2 letters, ISO 3166-1 alpha-2 format). I'd like Kibana to show the full name of the country rather the two letters. Is there a formatter that does that?
Thanks!
Not that ships with Kibana, no. You could write a plugin that provided that formatter though, the field formatters are pluggable.
Note that if you have a pipeline you use to get that data into Elasticsearch though, it's probably easier to just enrich the documents as you index them with the name derived from the 2 letter abbreviation. You might be able to do this using an Ingest node as well.
© 2020. All Rights Reserved - Elasticsearch
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.