Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi Is it possible to group the data within the logs by IP so that I can easily differenciate between local requests from requests via the internet. I'm using Linux so it would have to linux based solution.

share|improve this question

Use webalizer. It is a good apache log file analyzer. & also has support various grouping options.

webalizer site

webalizer at wikipedia

share|improve this answer

awk '{print $n}' | sort | uniq -c This will give you good running numbers of requests by IP. And can be done without a load of logs into webalizer. Much fancier stuff is possible as well.

Get to know YOUR log file format and you can do all kinds of magic with it. Also get to know your CLI tools for doing on the fly stuff. awk is a great one to start with to get a few basics under your belt and then move on to another tool.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.