Click to See Complete Forum and Search --> : Logging web use
Gantrep
12-08-2004, 02:41 AM
Hi, I've been away from using Linux for about a year and I just thought of something I'd like to do, but I don't know the right tools to do it now. I'd like something that generates a log of all urls of http requests regardless of what generates them. Only want record of http requests generated from computer logger is running on, don't want it to sniff out traffic from other systems on the network or anything like that.
apeekaboo
12-08-2004, 08:36 AM
Depending on what you want to do with the logs and how advanced solution you want, there are of course several different ways to do this.
You could run a web-proxy (which could also allow you to filter http-requests) or, if you don't have a need for stealth, you could perhaps get away with something simple like the tcpdump command:
tcpdump |grep '\.www: S' >>/var/log/http-usage.log
I'm sure there are specialized tools for this as well.
Gantrep
12-08-2004, 02:25 PM
Thanks man, I couldn't remember tcpdump. I sit in front of a Linux system now and I'm like, what was all that stuff I used to do? lol....