Update doc

This commit is contained in:
Gregory Soutade 2014-12-31 14:09:12 +01:00
parent 5ed9bbbae8
commit 8299a7d785
4 changed files with 244 additions and 183 deletions

View File

@ -110,6 +110,7 @@ iwla
DB_ROOT/meta.db DB_ROOT/meta.db
DB_ROOT/year/month/iwla.db DB_ROOT/year/month/iwla.db
OUTPUT_ROOT/index.html OUTPUT_ROOT/index.html
OUTPUT_ROOT/year/_stats.html
OUTPUT_ROOT/year/month/index.html OUTPUT_ROOT/year/month/index.html
Statistics creation : Statistics creation :
@ -175,6 +176,32 @@ iwla
None None
plugins.display.top_visitors
----------------------------
Display hook
Create TOP visitors block
Plugin requirements :
None
Conf values needed :
display_visitor_ip*
Output files :
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.all_visits plugins.display.all_visits
-------------------------- --------------------------
@ -233,32 +260,6 @@ plugins.display.referers
None None
plugins.display.top_visitors
----------------------------
Display hook
Create TOP visitors block
Plugin requirements :
None
Conf values needed :
display_visitor_ip*
Output files :
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.top_pages plugins.display.top_pages
------------------------- -------------------------
@ -287,34 +288,6 @@ plugins.display.top_pages
None None
plugins.display.top_hits
------------------------
Display hook
Create TOP hits page
Plugin requirements :
post_analysis/top_hits
Conf values needed :
max_hits_displayed*
create_all_hits_page*
Output files :
OUTPUT_ROOT/year/month/top_hits.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.top_downloads plugins.display.top_downloads
----------------------------- -----------------------------
@ -343,47 +316,46 @@ plugins.display.top_downloads
None None
plugins.pre_analysis.page_to_hit plugins.display.top_hits
-------------------------------- ------------------------
Pre analysis hook Display hook
Change page into hit and hit into page into statistics
Create TOP hits page
Plugin requirements : Plugin requirements :
None post_analysis/top_hits
Conf values needed : Conf values needed :
page_to_hit_conf* max_hits_displayed*
hit_to_page_conf* create_all_hits_page*
Output files : Output files :
None OUTPUT_ROOT/year/month/top_hits.html
OUTPUT_ROOT/year/month/index.html
Statistics creation : Statistics creation :
None None
Statistics update : Statistics update :
visits : None
remote_addr =>
is_page
Statistics deletion : Statistics deletion :
None None
plugins.pre_analysis.robots plugins.display.referers_diff
--------------------------- -----------------------------
Pre analysis hook Display hook
Filter robots Enlight new and updated key phrases in in all_key_phrases.html
Plugin requirements : Plugin requirements :
None display/referers
Conf values needed : Conf values needed :
page_to_hit_conf* None
hit_to_page_conf*
Output files : Output files :
None None
@ -392,9 +364,36 @@ plugins.pre_analysis.robots
None None
Statistics update : Statistics update :
visits : None
remote_addr =>
robot Statistics deletion :
None
plugins.post_analysis.reverse_dns
---------------------------------
Post analysis hook
Replace IP by reverse DNS names
Plugin requirements :
None
Conf values needed :
reverse_dns_timeout*
Output files :
None
Statistics creation :
None
Statistics update :
valid_visitors:
remote_addr
dns_name_replaced
dns_analyzed
Statistics deletion : Statistics deletion :
None None
@ -465,18 +464,18 @@ plugins.post_analysis.top_pages
None None
plugins.post_analysis.reverse_dns plugins.post_analysis.top_downloads
--------------------------------- -----------------------------------
Post analysis hook Post analysis hook
Replace IP by reverse DNS names Count TOP downloads
Plugin requirements : Plugin requirements :
None None
Conf values needed : Conf values needed :
reverse_dns_timeout* None
Output files : Output files :
None None
@ -485,10 +484,9 @@ plugins.post_analysis.reverse_dns
None None
Statistics update : Statistics update :
valid_visitors: month_stats:
remote_addr top_downloads =>
dns_name_replaced uri
dns_analyzed
Statistics deletion : Statistics deletion :
None None
@ -522,18 +520,19 @@ plugins.post_analysis.top_hits
None None
plugins.post_analysis.top_downloads plugins.pre_analysis.robots
----------------------------------- ---------------------------
Post analysis hook Pre analysis hook
Count TOP downloads Filter robots
Plugin requirements : Plugin requirements :
None None
Conf values needed : Conf values needed :
None page_to_hit_conf*
hit_to_page_conf*
Output files : Output files :
None None
@ -542,9 +541,37 @@ plugins.post_analysis.top_downloads
None None
Statistics update : Statistics update :
month_stats: visits :
top_downloads => remote_addr =>
uri robot
Statistics deletion :
None
plugins.pre_analysis.page_to_hit
--------------------------------
Pre analysis hook
Change page into hit and hit into page into statistics
Plugin requirements :
None
Conf values needed :
page_to_hit_conf*
hit_to_page_conf*
Output files :
None
Statistics creation :
None
Statistics update :
visits :
remote_addr =>
is_page
Statistics deletion : Statistics deletion :
None None

View File

@ -18,6 +18,7 @@ iwla
DB_ROOT/meta.db DB_ROOT/meta.db
DB_ROOT/year/month/iwla.db DB_ROOT/year/month/iwla.db
OUTPUT_ROOT/index.html OUTPUT_ROOT/index.html
OUTPUT_ROOT/year/_stats.html
OUTPUT_ROOT/year/month/index.html OUTPUT_ROOT/year/month/index.html
Statistics creation : Statistics creation :
@ -83,6 +84,32 @@ iwla
None None
plugins.display.top_visitors
----------------------------
Display hook
Create TOP visitors block
Plugin requirements :
None
Conf values needed :
display_visitor_ip*
Output files :
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.all_visits plugins.display.all_visits
-------------------------- --------------------------
@ -141,32 +168,6 @@ plugins.display.referers
None None
plugins.display.top_visitors
----------------------------
Display hook
Create TOP visitors block
Plugin requirements :
None
Conf values needed :
display_visitor_ip*
Output files :
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.top_pages plugins.display.top_pages
------------------------- -------------------------
@ -195,34 +196,6 @@ plugins.display.top_pages
None None
plugins.display.top_hits
------------------------
Display hook
Create TOP hits page
Plugin requirements :
post_analysis/top_hits
Conf values needed :
max_hits_displayed*
create_all_hits_page*
Output files :
OUTPUT_ROOT/year/month/top_hits.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
plugins.display.top_downloads plugins.display.top_downloads
----------------------------- -----------------------------
@ -251,47 +224,46 @@ plugins.display.top_downloads
None None
plugins.pre_analysis.page_to_hit plugins.display.top_hits
-------------------------------- ------------------------
Pre analysis hook Display hook
Change page into hit and hit into page into statistics
Create TOP hits page
Plugin requirements : Plugin requirements :
None post_analysis/top_hits
Conf values needed : Conf values needed :
page_to_hit_conf* max_hits_displayed*
hit_to_page_conf* create_all_hits_page*
Output files : Output files :
None OUTPUT_ROOT/year/month/top_hits.html
OUTPUT_ROOT/year/month/index.html
Statistics creation : Statistics creation :
None None
Statistics update : Statistics update :
visits : None
remote_addr =>
is_page
Statistics deletion : Statistics deletion :
None None
plugins.pre_analysis.robots plugins.display.referers_diff
--------------------------- -----------------------------
Pre analysis hook Display hook
Filter robots Enlight new and updated key phrases in in all_key_phrases.html
Plugin requirements : Plugin requirements :
None display/referers
Conf values needed : Conf values needed :
page_to_hit_conf* None
hit_to_page_conf*
Output files : Output files :
None None
@ -300,9 +272,36 @@ plugins.pre_analysis.robots
None None
Statistics update : Statistics update :
visits : None
remote_addr =>
robot Statistics deletion :
None
plugins.post_analysis.reverse_dns
---------------------------------
Post analysis hook
Replace IP by reverse DNS names
Plugin requirements :
None
Conf values needed :
reverse_dns_timeout*
Output files :
None
Statistics creation :
None
Statistics update :
valid_visitors:
remote_addr
dns_name_replaced
dns_analyzed
Statistics deletion : Statistics deletion :
None None
@ -373,18 +372,18 @@ plugins.post_analysis.top_pages
None None
plugins.post_analysis.reverse_dns plugins.post_analysis.top_downloads
--------------------------------- -----------------------------------
Post analysis hook Post analysis hook
Replace IP by reverse DNS names Count TOP downloads
Plugin requirements : Plugin requirements :
None None
Conf values needed : Conf values needed :
reverse_dns_timeout* None
Output files : Output files :
None None
@ -393,10 +392,9 @@ plugins.post_analysis.reverse_dns
None None
Statistics update : Statistics update :
valid_visitors: month_stats:
remote_addr top_downloads =>
dns_name_replaced uri
dns_analyzed
Statistics deletion : Statistics deletion :
None None
@ -430,18 +428,19 @@ plugins.post_analysis.top_hits
None None
plugins.post_analysis.top_downloads plugins.pre_analysis.robots
----------------------------------- ---------------------------
Post analysis hook Pre analysis hook
Count TOP downloads Filter robots
Plugin requirements : Plugin requirements :
None None
Conf values needed : Conf values needed :
None page_to_hit_conf*
hit_to_page_conf*
Output files : Output files :
None None
@ -450,9 +449,37 @@ plugins.post_analysis.top_downloads
None None
Statistics update : Statistics update :
month_stats: visits :
top_downloads => remote_addr =>
uri robot
Statistics deletion :
None
plugins.pre_analysis.page_to_hit
--------------------------------
Pre analysis hook
Change page into hit and hit into page into statistics
Plugin requirements :
None
Conf values needed :
page_to_hit_conf*
hit_to_page_conf*
Output files :
None
Statistics creation :
None
Statistics update :
visits :
remote_addr =>
is_page
Statistics deletion : Statistics deletion :
None None

View File

@ -130,7 +130,7 @@ class IWLA(object):
ANALYSIS_CLASS = 'HTTP' ANALYSIS_CLASS = 'HTTP'
API_VERSION = 1 API_VERSION = 1
IWLA_VERSION = '0.2' IWLA_VERSION = '0.2-dev'
def __init__(self, logLevel): def __init__(self, logLevel):
self.meta_infos = {} self.meta_infos = {}

View File

@ -2,11 +2,18 @@
import sys import sys
excludes = ['istats_diff.py']
filename = sys.argv[1] filename = sys.argv[1]
if filename.endswith('__init__.py'): if filename.endswith('__init__.py'):
sys.exit(0) sys.exit(0)
for e in excludes:
if filename.endswith(e):
sys.stderr.write('\tSkip %s\n' % (filename))
sys.exit(0)
package_name = filename.replace('/', '.').replace('.py', '') package_name = filename.replace('/', '.').replace('.py', '')
sys.stdout.write('%s' % (package_name)) sys.stdout.write('%s' % (package_name))
sys.stdout.write('\n') sys.stdout.write('\n')