Using Webalizer

Another popular log analyzer is webalizer. Webalizer was specifically written to produce an HTML page with graphing statistics for access to a web site. Figure 7-1 shows a webalizer page for a busy site.

□■agR junndi -r fin- BOEpan,pal^t>der+nst

¿Sfi

11

-Tliilfl 1

11

J

1

s l S

iiiFr

I

.III

JU1 Jul HLg Sep Ctt Nav .an Fen lar fyr

►Bute

Suctiin.tr> ljy Month

Daily Avg

Monthly Totals

M.NL1IL

lil«

l'an«

Visits

Sites

K-Uvlti

Visits

1'ttR"

May 2004

4130

3434

774

489

S492

1959968

13716

21676

■ 96178

115646

Aprjnn-i

3790

313»

656

418

7472

2319006

12567

19694

94166

113728

Mai 2004

2139

1805

402

23?

5437

931410

7373

12483

55964

66315

Fch 2004

ft 34

536

S S3

78

2415

245202

2262

5333

15572

18397

Jan 2004

481

422

146

54

ivy:

183641

16E0

4533

13107

14920

Dec 2003

634

538

131

40

1156

287487

1213

3944

L6L43

1V039

Nov ?003

6

2

4

4

19

26

12

12

S

20

Totals

_

5926740

38823

67673

2*1138

348ÎK.Î

Figure 7-1: Webalizer output

The webalizer page is quite long and contains information on the amount of traffic served; how many hits per month, per day, per hour; ranking of the most popular pages; and so on. To access specific information about a certain month, you can click its entry and you will be presented with a screen similar to Figure 7-2.

Usage Statistics for sospan.palmcoder.net

Skmurj : l 2001

Ottntcd 25-Hnï-:ilil4O4f0T EST

L^lv ^ILJ.LI-.LL^^ j I Huuil. £ L d' i M K l I ILIRUi lijilrvl ILklLI i>ilci ikcircTr^ IScjilJi'i U^lll jA^Cül'. iCuupLniisI

Monthly Statistics for May 2004

Total Hits

115646

lolal Files

96178

Total Pages

2167*

Total Vi mu,

13716

Total KBytes

1959968

Total Unique Sites

8492

Total Unique URLs

1806

Total Unique Kefccicti

733;

Totol Unique Uscnrnmcs

1

Total Unique User Agents

320

Avel Muj

Hi Ii per Hour

172

624

Hin per Day

4130

SB06

Flics pc: Day

3434

4952

Ibices per Day

774

1178

Vi sits per Day

489

719

KByte* per Day

69999

103384

Figure 7-2: Month output in webalizer

Webalizer outputs all of its data by default into /var/lib/webalizer, which is linked to

/srv/www/htdocs/webalizer for serving via Apache.

- Cross- Apache configuration is covered in Chapter 16.

: Reference

This allows you to automate the running of webalizer on a foreign system and, at the same time, allows you to access the results via the web server you are analyzing.

We will not talk about the configuration of webalizer here, as the configuration file /etc/ webalizer.conf is extremely well documented, and the default suits 99 percent of people who need to analyze their web traffic.

Was this article helpful?

0 0

Post a comment