Regex queries dont work as expected in kibana


(okwap) #1

My query: _type:log AND NOT host:/^192.168.1.[0-9]+:[0-9]+/

Possible form of value in host field:

  1. 182.168.1.1:2222
  2. 12345

The result should contains 12345 and not contains 182.168.1.1:2222, but it did not work.

What's wrong with my query?


(system) #2