Wild Card search for a URL not working


(Sameer Panicker) #1

I have this URL:

http://myserver1:443/MyWebService/api/customer/{id}/getTime/{ value1}

i.e.
http://myserver1:443/MyWebService/api/customer/123/getTime/350, http://myserver1:443/MyWebService/api/customer/456/getTime/351

If I try searching for "http://myserver1:443/MyWebService/api/customer//getTime/"...it doesn't return any data. Results = 0.

What am I doing wrong here ?


(ben) #2

if the field you're searching on is not analyzed, see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html

so for example you should be typing in the Kibana search bar:

{"wildcard":{"[field-name]":"http://myserver1:443/MyWebService/api/customer//getTime/"}}


(Sameer Panicker) #3

Still the same result. Result = 0.


(Shelby Sturgis) #4

You are putting the search string in quotes, so the * is being searched literally and not as a wild card.


(Sameer Panicker) #5

So what it should be like ?


(system) #6