|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
aka K-Man
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 |
|
|
|
|
|
#2 |
|
aka K-Man
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
|
give
me some love |
|
|
|
|
|
#3 |
|
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?
|
|
|
|
|
|
#4 |
|
aka K-Man
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
|
|
|
|
|
|
#5 |
|
aka K-Man
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,295
|
i guess from the shell would be easiest to run eh?
|
|
|
|
|
|
#6 |
|
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? |
|
|
|
|
|
#7 |
|
aka K-Man
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 |
|
|
|
|
|
#8 |
|
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=" |
|
|
|
|
|
#9 |
|
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" |
|
|
|
|
|
#10 | |
|
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
Quote:
|
|
|
|
|
|
|
#11 |
|
aka K-Man
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
|
|
|
|
|
|
#12 |
|
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\"" |
|
|
|
|
|
#13 |
|
aka K-Man
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 |
|
|
|
|
|
#14 |
|
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 |
|
|
|
|
|
#15 | |
|
CURATOR
Join Date: Jul 2004
Location: the attic
Posts: 14,572
|
2hp
__________________
tada! |
|
|
|
|
|
|
#16 |
|
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] |
|
|
|
|
|
#17 |
|
aka K-Man
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> |
|
|
|
|
|
#18 |
|
Too lazy to set a custom title
Join Date: Jul 2003
Location: Netherlands
Posts: 10,127
|
interesting issue
|
|
|
|
|
|
#19 |
|
Confirmed User
Join Date: Sep 2001
Location: Boston
Posts: 4,873
|
analog.cx
|
|
|
|
|
|
#20 |
|
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
|
|
|
|