I have a file that I read with Logstash containing a certain parameter
called type. The possible values for this parameter are 0,1,2,3,4,5 (it is
actually represented as an Enum in my Java code).
Let's say type 0 means book, type 1 means newspaper, type 2 means magazine,
etc.
Currently my Logstash filter writes this parameter directly as the number,
but I would like to display panels on Kibana Dashboards that would show me
the value (e.g. book) instead of the number (i.e. 0).
Is there any possibility to add replacements or mappings to a list of
predefined values at Kibana level? Or should I do this mapping manually at
Logstash level with ifconditions? What would be the best approach?
I have a file that I read with Logstash containing a certain parameter
called type. The possible values for this parameter are 0,1,2,3,4,5 (it
is actually represented as an Enum in my Java code).
Let's say type 0 means book, type 1 means newspaper, type 2 means
magazine, etc.
Currently my Logstash filter writes this parameter directly as the number,
but I would like to display panels on Kibana Dashboards that would show me
the value (e.g. book) instead of the number (i.e. 0).
Is there any possibility to add replacements or mappings to a list of
predefined values at Kibana level? Or should I do this mapping manually at
Logstash level with ifconditions? What would be the best approach?
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.