Analyog Weblog Analysis

xiaoxiao2021-03-06  42

0. Name

Analog - Web Server Logfile Analynser

Official website: http://www.analog.cx/

Version: Version 5.24

Bugs: http://www.analog.cx/bugs.html

Demand Software: AutoConf, Expat, GetText, Libiconv, M4

Author: Stephen Turner

Alexander Toth

Targe

Analog is a program used to parse the log file and is designed to quickly resolve and generate an appeal chart.

The simplest control method is to control the ANALOG action through a setting file, not directly using the command column.

To get more information about setting files or commands, see Readme.html in the original file.

2. Installation

Path: / usr / ports / www / analog /

3. Syntax: analog [parameter] web-log file

4. Parameter

--Help Displays version message and related messages.

-L Displays a general state report

It can be seen from the figure that there is already a lot of information that can be seen in a general state report.

- | 1 Show status reports in annual units

- | 4 Show status reports per 15 minutes

- | 5 shows the status report at every 5 minutes

- | 6 shows the state summary report in units of 15 minutes.

- | 7 shows the state summary report in units of every 5 minutes.

- | a Display all status reports.

It is known that all status reports are reported, and more people are very stunned.

- | D Show status reports in heaven

- | D shows the state summary report in the sky.

-G does not use a preset setting file.

- | h Shows the status report in hours

- | h Displayed or canceled status reports in hours.

-I | i Display or cancel the status report for accessing errors

-i | i Display or cancel the status report about the data clip (directory)

-W | w Display or cancel the status report in week.

-w | w Display or cancel the status report on week-wide range, hours.

-m | m Display or cancel the state report in the monthly unit.

-O | O Display or cancel the status report on the field from the website visitors.

This section needs to match the record of the log file is a record IP, so it is currently impossible to reflect.

-N | n Display or cancel the status report for search engine retrieval.

-n | n Display or cancel the status report for searching for keywords.

-B | b Display or cancel the status report about the browser.

-b | b Display or cancel the summary report about the browser.

-p | p Display or cancel the status report on the visitor job system.

-q | q Display or cancel a warning message.

-S | S Displays or cancel the IP status report for visitors.

-S | S Displays or cancels the link status report for visitors.

-t | t shows or cancel the status report of the file.

- | x Shows or cancel the sum of the summary report.

-Z | z Display or cancel the organization status report for visitors.

-z | z Displayed or unavailable the size status report for accessing the file.

- | O file location.

If you use -, it means output to the screen (standard output), and then directly connect the file name after O.

EX: Analog O / Home / Panda / Public_HTML / TEST.HTML

5. Chinese culture and post setup

Settings: /usr/local/etc/analog.cfg

Join these five lines:

Outfile /usr/local/www/data/status/index.html (output location)

Hostname "[ohaha.ks.edu.tw]" (Website Name) Langfile Tw.LNG (below is the language setting)

Domainsfile twDom.tab

Descfile twDesc.txt

You can set the cron to execute once every 10 minutes or you can do it.

There is a need to increase or decrease, and the preset value is as follows.

* / 10 * * * * / usr / local / bin / analog

Supplement: If you use the orientation instead of the O parameter today, there is no display of the round cake.

EX: analog> /Home/panda/public_html/test.html

My results: http://ohaha.ks.edu.tw/status/

Of course .. You can't see it, because I added this section in the Apache setting file.

Is there any impression? The above part is the restriction setting of Apache MOD_STSTUS,

I only let my work computer (163.19.163.97) can see,

It is also the same here. If you don't want someone to see this way.

Of course, I am very conscience, I will let you see all examples:

http://ohaha.ks.edu.tw/analog-sample/

Settings Reference: Analog.cfg

6. Question out

If you feel that there is not very good in this program, you can change the three Chinese files.

Location: / usr / local / Share / Analog / Lang /

7. Reference

ANALOG (1)

转载请注明原文地址:https://www.9cbs.com/read-59264.html

New Post(0)