Kibana: data case insensitive

Is there a way for Kibana to only display data for lowercase and uppercase matches?

For example, say that I want a pie chart of exceptions, I would not want both "BusinessException" and "businessexception" displayed and considered different.

+3


source to share


1 answer


There is no way to do this with Kibana. However, you can do it at the elasticsearch level with a tokeniser . You would install something like this:

$ curl -XPUT localhost:9200/testindex/ -d '
{
  "settings":{
     "index":{
        "analysis":{
           "analyzer":{
              "case_insensitive_analyser":{
                 "tokenizer":"case_insensitive",
                 "filter":"uppercase"
              }
           }
        }
     }
  },
  "mappings":{
     "test":{
        "properties":{
           "exception":{
              "analyzer":"case_insensitive_analyser",
              "type":"string"
           }
        }
     }
  }
}

      



which I borrowed from this question: How to set up a tokenizer in elasticsearch

+3


source







All Articles