Majid Abdolhosseini
Majid Abdolhosseini

Reputation: 2301

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

Upvotes: 19

Views: 69092

Answers (1)

Majid Abdolhosseini
Majid Abdolhosseini

Reputation: 2301

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

http_referer:/https.*jn04/

Upvotes: 32

Related Questions