Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: RicochetPeter - tammikuu 24, 2005, 08:41:01 AP

Otsikko: Log file analysis
Kirjoitti: RicochetPeter - tammikuu 24, 2005, 08:41:01 AP
Hi boarders,

I'm using awstats (http://awstats.sourceforge.net) for Log file analysis, which works quite well but I'm hitting on a problem that has to do with the way the admin URLs are built.

Almost all URLs, including the adminastrative functions look like ...index.php?action=
Now, that's not a bad thing in itself, but it makes separating the admin's traffic from the users' traffic almost impossible.
There's a config option "URLWithQueryWithoutFollowingParameters", which I could set to 'action', so only '?board=' and '?topic=' will be counted in, but that will also hide a lot of the normal users' actions.

Is there the remote hope of any option or even a separate 'admin.php' that is used for carrying out the admin functions? I sure know, there was some reason to only use index.php as the base for ALL requests, but hey, as the need arises ;)
Otsikko: Re: Log file analysis
Kirjoitti: Midgard - tammikuu 24, 2005, 08:45:12 AP
Multi-language supported Demo: http://awstats.sourceforge.net/cgi-bin/awstats.pl

:P
Otsikko: Re: Log file analysis
Kirjoitti: RicochetPeter - tammikuu 24, 2005, 08:53:32 AP
Em, sorry? What do you want to tell me?
Otsikko: Re: Log file analysis
Kirjoitti: Midgard - tammikuu 24, 2005, 08:57:37 AP
Lainaus käyttäjältä: chefle - tammikuu 24, 2005, 08:53:32 AP
Em, sorry? What do you want to tell me?

Nevermind, i only like it...
Otsikko: Re: Log file analysis
Kirjoitti: RicochetPeter - tammikuu 24, 2005, 03:59:03 IP
some examples to make it clearer:

- URLs like '/index.php?action=dlattach;id=x;type=avatar' are counted as pages cos they go through index.php, although they are mere hits (for a graphic file in this case)
- URLs like '/index.php?action=admin' is an admin page, which I'd like to keep out of traffic analysis (or have it separate...)
- dito for '/index.php?action=manageboards' (and prolly all the other admin links)

Otsikko: Re: Log file analysis
Kirjoitti: RicochetPeter - tammikuu 25, 2005, 01:22:37 IP
please give me hint, guys, is this something I will have to cope with forever or is it worth hoping for a solution?
Otsikko: Re: Log file analysis
Kirjoitti: Trekkie101 - tammikuu 25, 2005, 01:25:08 IP
What about search engine friendly URL's do they not work with this a bit better.
Otsikko: Re: Log file analysis
Kirjoitti: RicochetPeter - tammikuu 25, 2005, 02:21:00 IP
Hmmm, I don't know how those would look in the end, but it's not an option anyway: using IIS.
Otsikko: Re: Log file analysis
Kirjoitti: RicochetPeter - tammikuu 27, 2005, 11:26:33 AP
please?
Otsikko: Re: Log file analysis
Kirjoitti: [Unknown] - tammikuu 27, 2005, 09:02:55 IP
I'm afraid this may not be as possible.  I suppose you could, with a lot of work, make admin functions use a separate filename, but it was done this way because it simplifies things and increases security.

-[Unknown]
Otsikko: Re: Log file analysis
Kirjoitti: RicochetPeter - maaliskuu 01, 2005, 01:08:07 IP
Lainaus käyttäjältä: [Unknown] - tammikuu 27, 2005, 09:02:55 IP
I'm afraid this may not be as possible.  I suppose you could, with a lot of work, make admin functions use a separate filename, but it was done this way because it simplifies things and increases security.

-[Unknown]

Thanx Unknown, for the answer. And now what about the avatar files f.e.? Now that my site has been running for a while, it seems that the avatars are really source No. 1 for inaccurate reports. Sure they generate traffic and must be counted, but to me they are mere hits. The fact that they are handled by index.php + handled by a paramater (action) that is also used for a lot of other stuff (posting, moderating...) makes it indistinguishable from real 'pages'.
If only the multimedia files were handled a bit differently, like f.e. exchange "action=dlattach" by "download=attach" -> paramter "download" could be excluded from page counts.

Does that sound reasonable to you? Any chance of these ideas finding their way to the development? I suppose that over time, I might not be the only one to come up with such a 'problem'...