Logi

Tatu Paajanen, K8838

Lyhyt kuvaus käsitteestä tai aiheesta

Tietojärjestelmä, joka esiintyy käyttäjälle text- tai XML-tiedostona ja jolla voidaan rekisteröidä automaattisesti tuotetun ja aikaleimaistetun asiakirjan tapahtumia, käyttäytymistä ja ehtoja tietylle järjestelmälle. Logille ei ole standardia, mutta yleisesti ajatellaan, että jokaisessa logissa täytyy olla aikaleima, kategoria ja kuvaus.

text-file

Muuta

Logi kerää siis kaikki halutun asian tiedot, kuten sovellus-, netti- ja palvelinvalvonnan tai optimointi- ja virheenkorjausvirheet ja tekee niistä yhden helposti luettavan tiedoston. Esimerkiksi nettipalvelimella kirjautumislogi tunnistaa kävijöiden määrän ja niiden verkkotunnukset, joista on käyty. Ottaa ylös sivuilla tehtyjen pyyntöjen määrän ja myös mahdolliset käyttömallit, joita viikon tai jopa päivän aikana on tullut.

Esimerkkejä

Sample Log File Format:

111.222.333.123 HOME - [01/Feb/1998:01:08:39 -0800] "GET /bannerad/ad.htm HTTP/1.0" 200 198 "http://www.referrer.com/bannerad/ba_intro.htm" "Mozilla/4.01 (Macintosh; I; PPC)" 111.222.333.123 HOME - [01/Feb/1998:01:08:46 -0800] "GET /bannerad/ad.htm HTTP/1.0" 200 28083 "http://www.referrer.com/bannerad/ba_intro.htm" "Mozilla/4.01 (Macintosh; I; PPC)" 111.222.333.123 AWAY - [01/Feb/1998:01:08:53 -0800] "GET /bannerad/ad7.gif HTTP/1.0" 200 9332 "http://www.referrer.com/bannerad/ba_ad.htm" "Mozilla/4.01 (Macintosh; I; PPC)" 111.222.333.123 AWAY - [01/Feb/1998:01:09:14 -0800] "GET /bannerad/click.htm HTTP/1.0" 200 207 "http://www.referrer.com/bannerad/menu.htm" "Mozilla/4.01 (Macintosh; I; PPC)"

Description of Fields:

Field 1: User Address IP or domain name of the user accessing the site.

Field 2: RFC931 This field is used to log the domain for multi-homed web servers.

Field 3: User Authentication

Field 4: Date/Time Date and time the user accessed the site.

Field 5: GMT Offset Number of hours from GMT (if this is +0000 it is logged in GMT time).

Field 6: Action The particular operation of the hit (this must be in quotes).

Field 7: Return Code The return code indicates whether or not the action was successful etc.

Field 8: Size The size of the file sent.

Field 9: Referrer The URL which linked the user to your site

Field 10: Browser/Platform The web browser and platform used by the user accessing your site.

Further information: For more information, consult Apache’s site as it is outside of the support Webtrends can offer. Apache offers information on how to configure their logs at the following URL:

http://httpd.apache.org/docs/1.3/logs.html#common

http://httpd.apache.org/docs/2.2/logs.html#common

The "combined" example matches the example the one displayed above and referred to as the Apache Extended Format.

Lähteitä liittyen aiheeseen

Linkit wikin muihin sivuihin