Hi,
I have 2 fields that are already extracted uri and referer. I want to right a search based on if
uri value =referer value. I guess i have to use eval. Can you please give me syntax?
... | where uri==referer | ...
/K
Hello
Probably you need to remove the domain part from the referrer field, as the uri doesn't include that part. Lets say:
uri: /example/page.html
referrer: http://www.example.com/example/page.html
Regards
That happens if uri is never equal to referer. Check your fields.
Actually i tried this but did not work. i am getting no results.
| eval yourfield=if(uri==referer,...
Oh! No, very much incorrect. Early morning - correcting.
Is that correct? Normally eval
is an assignment of a value to a field.