gsc_ironport Thu, 11/27/2008 - 08:13
User Badges:

If you want to check the accesslog for multiple expressions simply type the strings what you want to check in a sequence separated by spaces. That should work.


Enter the regular expression to grep.
[]> john

will list when the userid "John" tried to access that URL.

lmyoung_ironport Wed, 12/03/2008 - 20:15
User Badges:

I tried using a space between the expressions and not having any luck.

any other ideas? I tried name URL

jowolfer Thu, 12/04/2008 - 15:30
User Badges:

I had no luck getting a double grep matching by using a space.

I did however have positive results by using standard regex like such:*

This will match a line that contains the user IP (, anything in between (.*) and the website I'm looking for (

Gawayne_ironport Fri, 12/19/2008 - 18:12
User Badges:

That's correct, grep uses regex, so just a space will not work.
. = any character, so technically*
will match with
as well as abracadabra blah blah


This Discussion