Hi All,
I'm sure this has been done before but I can't find many references to it. I'd like a script that scans the access log from apache and then creates a file containing a list of Unique IP Addresses found plus their first and last access dates and times and line no. Separated using a : or somthing like that so I can then split it later using Perl.
192.168.5.54:30/06/2003:12-00-21:30/06/2003:12-01-41:1
...
I'd like to do this myself but I wouldn't know where to start as regards the expressions and syntax. Could someone please provide me with a few pointers.
Thanks.
William
Software Engineer
ICQ No. 56047340
I'm sure this has been done before but I can't find many references to it. I'd like a script that scans the access log from apache and then creates a file containing a list of Unique IP Addresses found plus their first and last access dates and times and line no. Separated using a : or somthing like that so I can then split it later using Perl.
192.168.5.54:30/06/2003:12-00-21:30/06/2003:12-01-41:1
...
I'd like to do this myself but I wouldn't know where to start as regards the expressions and syntax. Could someone please provide me with a few pointers.
Thanks.
William
Software Engineer
ICQ No. 56047340