Special characters and Case sensitive search


#1

How to search for special characters (double quotes) in Kibana? For example I need to find this string inside of a message field:
\"input\":\"\"
Or how to find a triple tilde occurrence:
~~~
Also is a way to perform Case sensitive search?


(Matt Bargar) #2

Escaping special characters with backslashes should work.

Case sensitivity will depend on the analyzers you have configured for your fields. The standard analyzer is used by default which lowercases terms before indexing them, meaning you won't be able to do a case sensitive search. The .keyword version of a text field will be case sensitive, but will not perform any other analysis either. If you need to search for individual tokens in a case sensitive manner you'll need to define a different analyzer for your field before indexing your data.