Hi David, is your list of status codes and human readable values static? In other words, it sounds like you'll be indexing new API responses regularly, but you won't necessarily indexing new documents with new human readable values very often, correct?
If so, then you can create a scripted field on the index pattern you're using to select your API responses. This scripted field can handle the translation to a human readable value for you. You can create this scripted field by going to Management > Select your index pattern > Scripted fields tab.
Then you can create a new scripted field with "string" type, which will map the response code to a human readable value:
Hi @cjcenizal, thanks for your quick response. Even though I think your solution may do the trick, I think won't scale if we add more APIs or more code status. Eventually will be a maintenance associated in the source code and Kibana.
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.