Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-04-2006, 12:17 AM   #1
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
httpd_access log reader?

can anyone recommend a quick and easy log-parser/reader? i dont wanna install shit onto the server, or crons or anything.. i just wanna load httpd_access and have it parsed up so i can see stats... any suggestions for a quick and easy solution?

thx
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:31 AM   #2
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
give

me

some

love
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:31 AM   #3
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
you want to see it in shell or in an html format via webserver?
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:36 AM   #4
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
brad: doesnt really matter, just dont wanna look at the raw logs i can cat from ssh.... wanna see referers and hits to pages and such
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:37 AM   #5
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
i guess from the shell would be easiest to run eh?
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:43 AM   #6
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
Sure, but if you are getting volume, it's no fun to read each access. I do it with one of my sites because I like to see everything going on, but it's super small and I have nothing but time.

You'll want to use something prettier. Try: http://http-analyze.org/
It's a bit bloated but will get the job done

edit: Oh and you're running apache right?
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:46 AM   #7
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
yes apache.. ill take a look at it... we're beta testing something and the wrong affid is being passed i wanna see what it says when entering the server... programmer is off this weekend ;-)

thx dude
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:46 AM   #8
flashbang
Confirmed User
 
Join Date: May 2006
Posts: 767
you said you cat,
now add grep

cat /logs/blah.log|grep dicksanddongs.com
cat /logs/blah.log|grep "?q=assplugs+dongs+dildos"
cat /logs/blah.log|grep 256.22.29.291

count hits from google queries
cat /logs/blah.log|grep -c "google.com?q="
flashbang is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:51 AM   #9
flashbang
Confirmed User
 
Join Date: May 2006
Posts: 767
here's another tip

looking for an error in real time, while tail -f logs and you getting tons of hits, grep what you are looking for

tail -f /logs/blah.log|grep "tracker?moo=153535"
flashbang is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 12:52 AM   #10
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
Quote:
Originally Posted by flashbang
here's another tip

looking for an error in real time, while tail -f logs and you getting tons of hits, grep what you are looking for

tail -f /logs/blah.log|grep "tracker?moo=153535"
Word... that's possibly the easiest solution kman if you're getting a decent amount of queries.
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 01:05 AM   #11
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
thx fb.. ill try that too ;-) i never knew how to use grep properly but knew OF it
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 01:16 AM   #12
flashbang
Confirmed User
 
Join Date: May 2006
Posts: 767
anytime, might have to blackslash some characters if they come into play

offhand i think the most common are \$ \" \?

grep "moo=\"\?goo&blah=car\""
flashbang is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 02:03 AM   #13
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
affiliate is supposed to be sending wid=102 only a small % of his traffic is coming thru proper...

the rest is weird wid=3D102 and such..

now, he swears his link codes are right on his end, is there any chance our servers are fuxing up this wid suffix?

66.66.666.66 - - [03/Jun/2006:15:15:04 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:15:19:39 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:15:22:10 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:15:51:47 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:16:35:03 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:16:45:53 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:16:46:23 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:16:55:12 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:15:38 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:17:25 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:29:01 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:32:47 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:33:21 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:34:20 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:58:22 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:19:31:18 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:20:58:34 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:21:38:10 -0700] "GET /?wid=102 HTTP/1.1" 301 350
66.66.666.66 - - [03/Jun/2006:21:38:10 -0700] "GET /index.php?wid=102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:22:19:56 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:22:45:10 -0700] "GET /?wid=102 HTTP/1.1" 200 34289
66.66.666.66 - - [04/Jun/2006:00:38:09 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [04/Jun/2006:01:03:49 -0700] "GET /?wid=102 HTTP/1.1" 301 350
66.66.666.66 - - [04/Jun/2006:01:03:55 -0700] "GET /index.php?wid=102 HTTP/1.1" 200 34289
66.66.666.66 - - [04/Jun/2006:01:14:36 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 02:06 AM   #14
flashbang
Confirmed User
 
Join Date: May 2006
Posts: 767
yes 3D is the hex for =
you're script might be trying to insert a = but soemthign is chopping off the % part of %3D

could be him as well, not sure if you do any mod-rewrite or whatnot on incoming urls
flashbang is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 02:08 AM   #15
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
Quote:
Originally Posted by kmanrox
affiliate is supposed to be sending wid=102 only a small % of his traffic is coming thru proper...

the rest is weird wid=3D102 and such..

now, he swears his link codes are right on his end, is there any chance our servers are fuxing up this wid suffix?

66.66.666.66 - - [03/Jun/2006:15:15:04 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:15:19:39 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:15:22:10 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:15:51:47 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:16:35:03 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:16:45:53 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:16:46:23 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:16:55:12 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:15:38 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:17:25 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:29:01 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:32:47 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:33:21 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:34:20 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:17:58:22 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:19:31:18 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:20:58:34 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:21:38:10 -0700] "GET /?wid=102 HTTP/1.1" 301 350
66.66.666.66 - - [03/Jun/2006:21:38:10 -0700] "GET /index.php?wid=102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:22:19:56 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [03/Jun/2006:22:45:10 -0700] "GET /?wid=102 HTTP/1.1" 200 34289
66.66.666.66 - - [04/Jun/2006:00:38:09 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289
66.66.666.66 - - [04/Jun/2006:01:03:49 -0700] "GET /?wid=102 HTTP/1.1" 301 350
66.66.666.66 - - [04/Jun/2006:01:03:55 -0700] "GET /index.php?wid=102 HTTP/1.1" 200 34289
66.66.666.66 - - [04/Jun/2006:01:14:36 -0700] "GET /?wid=3D102 HTTP/1.1" 200 34289






2hp
__________________
tada!
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 02:15 AM   #16
flashbang
Confirmed User
 
Join Date: May 2006
Posts: 767
really tired and must pass out but if you can't contact this late for fix
a quick fix would be along the lines of the following via .htaccess

note i have limited info here, some tweaking may be needed


RewriteEngine On
RewriteRule ^/?wid=3D102$ /?wid=102 [QSA,L]
flashbang is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 02:31 AM   #17
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
interesting you bring up rewrite.. we're using one, but for another domain of the same affiliate's... this shouldnt affect his other domain should it?


RewriteEngine On

RewriteCond %{HTTP_HOST} !^(.+)www\.blah\.com$ [OR]
RewriteCond %{HTTP_HOST} !^(.+)\.blah\.com$
RewriteRule ^/$ /index.php?wid=102 [R=301,L]

ErrorLog /usr/home/www/log/httpd-error_log
CustomLog /usr/home/www/log/httpd-access_log common
</VirtualHost>
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 03:59 AM   #18
gooddomains
Too lazy to set a custom title
 
Join Date: Jul 2003
Location: Netherlands
Posts: 10,127
interesting issue
gooddomains is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 04:59 AM   #19
s9ann0
Confirmed User
 
Join Date: Sep 2001
Location: Boston
Posts: 4,873
analog.cx
s9ann0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2006, 07:49 AM   #20
micker
Confirmed User
 
Join Date: Nov 2005
Location: Metro Detroit
Posts: 748
I've got a good desktop log parser that would work. hit me up on ICQ - 206-403-725
micker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.