Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graylog search contains string

I need to search in my data, which is apache2 log, I need all requests which URL is like so:

http://*&ucode=jn04

It starts with http and ends with &ucode=jn04

I tried this query :

http_referer:"http*&ucode=jn04"

but it doesn't work, and it gives me all URLs which end with the number "4".

I'm using Graylog 2.4.6

like image 374
Majid Abdolhosseini Avatar asked Dec 17 '18 09:12

Majid Abdolhosseini


1 Answers

I finally found the answer and my query string which gives me true result is :

http_referer:/https.*jn04/
like image 114
Majid Abdolhosseini Avatar answered Oct 14 '22 16:10

Majid Abdolhosseini