Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.