How do I perform a wildcard search against a single field?


(Kai T) #1

Hi,

How do I perform a wildcard search against a single field?

I tried the following in kibana search bar:
http_request_path: "*openorders*"

but it returns results in Kibana for any fields where its value contains "openorders"

How do have it only return results only if the http_request_path field has values of "*openorders*"

Thanks


(Tim Sullivan) #2

You are probably getting an issue because of the double-quotes. Can you try without them? I.e http_request_path: *openorders*

You can also try doing a wildcard search using a JSON query, such as

{ "wildcard": { "http_request_path": "*openorders*" } }

(system) #3