Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kibana query exact match

I would like to know how to query a field to exactly match a string.

I'm actually trying to query like this:

url : "http://www.domain_name.com" 

Which returns all string starting with http://www.domain_name.com .

like image 423
smace Avatar asked Sep 08 '14 09:09

smace


People also ask

How do you search for exact words in Kibana?

To search for an exact string, you need to wrap the string in double quotation marks. Without quotation marks, the search in the example would match any documents containing one of the following words: "Cannot" OR "change" OR "the" OR "info" OR "a" OR "user".

Can you use regex in Kibana?

Regular expressionsThey can be used, for example, for partial and case-insensitive matching or searching for terms containing special characters. To embed regular expressions in a Kibana query, you need to wrap them in forward-slashes (“/”).


1 Answers

I had a similar issue, and ifound that ".raw" fixed it - in your example, try

url.raw : "http://www.domain_name.com" 
like image 57
MarkD Avatar answered Sep 23 '22 11:09

MarkD