Hello,
Can anyone tell me a regex that will read an apache log file and report how many unique visits within a given day/month?
I know that sounds like a lot, but even a starting point or external resource would be greatly appreciated (I seem to be having troubles with Google).
Many thanks
Mark
regex for site visits
Moderator: General Moderators
Have you had a look at AWStats ( http://awstats.sourceforge.net/ )? Not sure if they use regex to parse the logs, but it's worth investigating.
As a matter of fact, any OS log analyzer could and should have that - maybe worth to have a look at Webalizer as well ( http://www.mrunix.net/webalizer/ ). I'm sure there are many others.
As a matter of fact, any OS log analyzer could and should have that - maybe worth to have a look at Webalizer as well ( http://www.mrunix.net/webalizer/ ). I'm sure there are many others.