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.
This text will be blurred
If I now the enter the Regex:
{
"query": {
"regexp": {
"user": {
"value": "[a-z]*"
}
}
}
}
Then there are still values reflected such as "sdasdas9_3". Can someone possibly help me to filter my search correctly?
Hi, thanks for the quick answer. Values like "sdasdas9_3" actually are filtered. That's nice. But there are randomly still numbers in the data. For example the value "xyz-xyz-xyz-001" and an email with "abc-avc.abc@bc.com" are still included. Probably because of the "-". Is there something to filter on that? Thanks a lot!
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.