Tagged Questions
-3
votes
1answer
62 views
IP to Country (IPs in file) [closed]
I'm trying to create a simple script to do this:
SOURCE: access.log
Needed data:
- IP
- date
- data
I need to create a file with a list of Country, their data usage and within the last hour.
...
33
votes
11answers
28k views
Do you have any useful awk and grep scripts for parsing apache logs?
I can use log analyzers, but often I need to parse recent web logs to see what's happening at the moment.
I sometimes do things like to figure out top 10 ips that request a certain file
cat foo.log ...