Erinevus lehekülje "AWstats" redaktsioonide vahel
Allikas: Kuutõrvaja
1. rida: | 1. rida: | ||
− | |||
Lihtne konfiguratsioon tekitada kaustadesse kas /etc/awstats võo /usr/local/etc/awstats nimega | Lihtne konfiguratsioon tekitada kaustadesse kas /etc/awstats võo /usr/local/etc/awstats nimega | ||
awstas.zoo.tartu.ee.conf | awstas.zoo.tartu.ee.conf | ||
13. rida: | 12. rida: | ||
/usr/bin/perl /usr/local/www/awstats/cgi-bin/awstats.pl -config=zoo.tartu.ee -update | /usr/bin/perl /usr/local/www/awstats/cgi-bin/awstats.pl -config=zoo.tartu.ee -update | ||
+ | |||
+ | tulemus | ||
+ | |||
+ | # /usr/local/www/awstats/cgi-bin/awstats.pl -config=zoo.tartu.ee -update | ||
+ | Create/Update database for config "/usr/local/etc/awstats/awstats.zoo.tartu.ee.conf" by AWStats version 7.0 (build 1.971) | ||
+ | From data in log file "/srv/log/serverid/zoo/http_access.log"... | ||
+ | Phase 1 : First bypass old records, searching new record... | ||
+ | Searching new records from beginning of log file... | ||
+ | Phase 2 : Now process new records (Flush history on disk after 20000 hosts)... | ||
+ | Jumped lines in file: 0 | ||
+ | Parsed lines in file: 139205 | ||
+ | Found 0 dropped records, | ||
+ | Found 0 comments, | ||
+ | Found 0 blank records, | ||
+ | Found 25862 corrupted records,log | ||
+ | Found 0 old records, | ||
+ | Found 113343 new qualified records. | ||
+ | |||
+ | Kui logiformaat erineb | ||
+ | |||
+ | Lihtne kuid raske pähkel, syslog kirjutab kaugelt saadetava logi puhul veel eraldi | ||
+ | juurde infot ning LogFormat ei sobi enam. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | sed 's/ */ /g' suuraprill.log >> suuraprill2.log |
Redaktsioon: 29. aprill 2011, kell 12:51
Lihtne konfiguratsioon tekitada kaustadesse kas /etc/awstats võo /usr/local/etc/awstats nimega awstas.zoo.tartu.ee.conf
LogFile="/srv/log/serverid/zoo/http_access.log" DirIcons="/awstatsicons" SiteDomain="zoo.tartu.ee" LogFormat=1 DNSLookup = 1 HostAliases = "www.zoo.tartu.ee"
Selle käivitamine
/usr/bin/perl /usr/local/www/awstats/cgi-bin/awstats.pl -config=zoo.tartu.ee -update
tulemus
# /usr/local/www/awstats/cgi-bin/awstats.pl -config=zoo.tartu.ee -update Create/Update database for config "/usr/local/etc/awstats/awstats.zoo.tartu.ee.conf" by AWStats version 7.0 (build 1.971) From data in log file "/srv/log/serverid/zoo/http_access.log"... Phase 1 : First bypass old records, searching new record... Searching new records from beginning of log file... Phase 2 : Now process new records (Flush history on disk after 20000 hosts)... Jumped lines in file: 0 Parsed lines in file: 139205 Found 0 dropped records, Found 0 comments, Found 0 blank records, Found 25862 corrupted records,log Found 0 old records, Found 113343 new qualified records.
Kui logiformaat erineb
Lihtne kuid raske pähkel, syslog kirjutab kaugelt saadetava logi puhul veel eraldi juurde infot ning LogFormat ei sobi enam.
sed 's/ */ /g' suuraprill.log >> suuraprill2.log