We help IT Professionals succeed at work.
Get Started

how to find unique requests in apache logs

jayatallen asked
Last Modified: 2012-09-18

i need to find unique requests per day and total page views per day for websites running on apache 2.2 (redhat linux)

I googled and found few solutions but problems are:
1) this web-server belongs to a firm and is accessible from internet and intranet.From intranet all requests goes through
proxy server.so if 2 different internal users are accessing this site,they would come from same IP.so cant find unique requests
based on unique IPs by running awk '{print 1}' on apache log
2)For 1 hit ,i see more than 1 line in apache log.
That is ,if i hit ts.testing.com , i see 17 lines in apache logs.That is counting rows of lines from unique IP(this imples
for external users) wont give the correct number.

I have attached few lines from aacess logs which were generated when i hit ts.testing.com/pages/test

Could you please advise how i can get the requirement done.

Thank you
Watch Question
Top Expert 2010
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE