I'm trying to use some regex and its becoming frustrating. It appears the syntax is not respected around the Kibana interface.
For example, I can exclude via regex with visualizations. However I noticed if you choose to pivot from a visluaizaiton to Discover the exclusion doesn't follow with it...is this a bug?
I try to recreate the exclusion in Discover by changing the query language to Lucene and using the regex I previously applied to the visulization, but it doesn't work. It instead does an inclusion for those IPs.
Example:
NOT ip.src: /127\..*|192\.168\..*|172\<16-31>\..*/
I tried using the Filters in Kibana with regex and that doesn't work either.
I also tried using "regexp" via DSL query and it appears you can't use "\" to escape characters in that syntax. Not sure why that would be an illegal character even though Lucene supports escaping. Can you provide an example of DSL query that would exclude the regex above as well?
All my research shows inclusion type queries, but not exclusion with regex.