I am relatively new to the use of Kibana. And I have the following problem:
I want to filter out all numbers and special characters like "_" or "-" in a field in Discover mode, so that I only have Letters.
For this I wanted to define a regex via "+Add filter" -> "Edit as Query DSL" . Only the whole thing does not work as thought.
Regexes not matching is typically because the searcher assumes the content is what was presented in the original JSON value rather than how this was stored in the index.
The search matches the tokens stored in the index. You can use the analyze api to see how your original value may have been tokenised into multiple tokens.
You may find this blog helpful in redesigning your index mapping and understanding the matching process
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.