iwla/docs/modules.md

461 lines
8.0 KiB
Markdown
Raw Normal View History

2014-11-19 08:01:12 +01:00
iwla
----
Main class IWLA
Parse Log, compute them, call plugins and produce output
For now, only HTTP log are valid
Plugin requirements :
None
Conf values needed :
analyzed_filename
domain_name
locales_path
compress_output_files*
Output files :
DB_ROOT/meta.db
DB_ROOT/year/month/iwla.db
OUTPUT_ROOT/index.html
OUTPUT_ROOT/year/month/index.html
Statistics creation :
meta :
last_time
start_analysis_time
stats =>
year =>
month =>
viewed_bandwidth
not_viewed_bandwidth
viewed_pages
viewed_hits
nb_visits
nb_visitors
month_stats :
viewed_bandwidth
not_viewed_bandwidth
viewed_pages
viewed_hits
nb_visits
days_stats :
day =>
viewed_bandwidth
not_viewed_bandwidth
viewed_pages
viewed_hits
nb_visits
nb_visitors
visits :
remote_addr =>
remote_addr
remote_ip
viewed_pages
viewed_hits
not_viewed_pages
not_viewed_hits
bandwidth
last_access
requests =>
[fields_from_format_log]
extract_request =>
extract_uri
extract_parameters*
extract_referer* =>
extract_uri
extract_parameters*
robot
hit_only
is_page
valid_visitors:
month_stats without robot and hit only visitors (if not conf.count_hit_only_visitors)
Statistics update :
None
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.display.all_visits
--------------------------
2014-11-19 08:01:12 +01:00
Display hook
2014-12-23 09:18:30 +01:00
Create All visits page
2014-11-19 08:01:12 +01:00
Plugin requirements :
2014-12-23 09:18:30 +01:00
None
2014-11-19 08:01:12 +01:00
Conf values needed :
2014-12-23 09:18:30 +01:00
display_visitor_ip*
2014-11-19 08:01:12 +01:00
Output files :
2014-12-23 09:18:30 +01:00
OUTPUT_ROOT/year/month/all_visits.html
2014-11-19 08:01:12 +01:00
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.display.referers
------------------------
2014-11-19 08:01:12 +01:00
Display hook
2014-12-23 09:18:30 +01:00
Create Referers page
2014-11-19 08:01:12 +01:00
Plugin requirements :
2014-12-23 09:18:30 +01:00
post_analysis/referers
2014-11-19 08:01:12 +01:00
Conf values needed :
2014-12-23 09:18:30 +01:00
max_referers_displayed*
create_all_referers_page*
max_key_phrases_displayed*
create_all_key_phrases_page*
2014-11-19 08:01:12 +01:00
Output files :
2014-12-23 09:18:30 +01:00
OUTPUT_ROOT/year/month/referers.html
OUTPUT_ROOT/year/month/key_phrases.html
2014-11-19 08:01:12 +01:00
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.display.top_visitors
----------------------------
2014-11-19 08:01:12 +01:00
Display hook
2014-12-23 09:18:30 +01:00
Create TOP visitors block
2014-11-19 08:01:12 +01:00
Plugin requirements :
2014-12-23 09:18:30 +01:00
None
2014-11-19 08:01:12 +01:00
Conf values needed :
2014-12-23 09:18:30 +01:00
display_visitor_ip*
2014-11-19 08:01:12 +01:00
Output files :
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.display.top_pages
-------------------------
2014-11-19 08:01:12 +01:00
Display hook
2014-12-23 09:18:30 +01:00
Create TOP pages page
2014-11-19 08:01:12 +01:00
Plugin requirements :
2014-12-23 09:18:30 +01:00
post_analysis/top_pages
2014-11-19 08:01:12 +01:00
Conf values needed :
2014-12-23 09:18:30 +01:00
max_pages_displayed*
create_all_pages_page*
2014-11-19 08:01:12 +01:00
Output files :
2014-12-23 09:18:30 +01:00
OUTPUT_ROOT/year/month/top_pages.html
2014-11-19 08:01:12 +01:00
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.display.top_hits
------------------------
2014-11-19 08:01:12 +01:00
Display hook
2014-12-23 09:18:30 +01:00
Create TOP hits page
2014-11-19 08:01:12 +01:00
Plugin requirements :
2014-12-23 09:18:30 +01:00
post_analysis/top_hits
2014-11-19 08:01:12 +01:00
Conf values needed :
2014-12-23 09:18:30 +01:00
max_hits_displayed*
create_all_hits_page*
2014-11-19 08:01:12 +01:00
Output files :
2014-12-23 09:18:30 +01:00
OUTPUT_ROOT/year/month/top_hits.html
2014-11-19 08:01:12 +01:00
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.display.top_downloads
-----------------------------
2014-11-19 08:01:12 +01:00
Display hook
2014-12-23 09:18:30 +01:00
Create TOP downloads page
2014-11-19 08:01:12 +01:00
Plugin requirements :
2014-12-23 09:18:30 +01:00
post_analysis/top_downloads
2014-11-19 08:01:12 +01:00
Conf values needed :
2014-12-23 09:18:30 +01:00
max_downloads_displayed*
create_all_downloads_page*
2014-11-19 08:01:12 +01:00
Output files :
2014-12-23 09:18:30 +01:00
OUTPUT_ROOT/year/month/top_downloads.html
2014-11-19 08:01:12 +01:00
OUTPUT_ROOT/year/month/index.html
Statistics creation :
None
Statistics update :
None
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.pre_analysis.page_to_hit
--------------------------------
2014-11-19 08:01:12 +01:00
2014-12-23 09:18:30 +01:00
Pre analysis hook
Change page into hit and hit into page into statistics
2014-11-19 08:01:12 +01:00
Plugin requirements :
None
Conf values needed :
2014-12-23 09:18:30 +01:00
page_to_hit_conf*
hit_to_page_conf*
2014-11-19 08:01:12 +01:00
Output files :
None
Statistics creation :
None
Statistics update :
2014-12-23 09:18:30 +01:00
visits :
remote_addr =>
is_page
2014-11-19 08:01:12 +01:00
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.pre_analysis.robots
---------------------------
2014-11-19 08:01:12 +01:00
2014-12-23 09:18:30 +01:00
Pre analysis hook
2014-11-19 08:01:12 +01:00
2014-12-23 09:18:30 +01:00
Filter robots
2014-11-19 08:01:12 +01:00
Plugin requirements :
None
Conf values needed :
2014-12-23 09:18:30 +01:00
page_to_hit_conf*
hit_to_page_conf*
2014-11-19 08:01:12 +01:00
Output files :
None
Statistics creation :
None
Statistics update :
2014-12-23 09:18:30 +01:00
visits :
remote_addr =>
robot
2014-11-19 08:01:12 +01:00
Statistics deletion :
None
plugins.post_analysis.referers
------------------------------
Post analysis hook
Extract referers and key phrases from requests
Plugin requirements :
None
Conf values needed :
domain_name
Output files :
None
Statistics creation :
None
Statistics update :
month_stats :
referers =>
pages
hits
robots_referers =>
pages
hits
search_engine_referers =>
pages
hits
key_phrases =>
phrase
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.post_analysis.top_pages
-------------------------------
2014-11-19 08:01:12 +01:00
Post analysis hook
2014-12-23 09:18:30 +01:00
Count TOP pages
2014-11-19 08:01:12 +01:00
Plugin requirements :
None
Conf values needed :
2014-12-23 09:18:30 +01:00
None
2014-11-19 08:01:12 +01:00
Output files :
None
Statistics creation :
None
Statistics update :
2014-12-23 09:18:30 +01:00
month_stats:
top_pages =>
uri
2014-11-19 08:01:12 +01:00
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.post_analysis.reverse_dns
---------------------------------
2014-11-19 08:01:12 +01:00
Post analysis hook
2014-12-23 09:18:30 +01:00
Replace IP by reverse DNS names
2014-11-19 08:01:12 +01:00
Plugin requirements :
None
Conf values needed :
2014-12-23 09:18:30 +01:00
reverse_dns_timeout*
2014-11-19 08:01:12 +01:00
Output files :
None
Statistics creation :
None
Statistics update :
2014-12-23 09:18:30 +01:00
valid_visitors:
remote_addr
dns_name_replaced
dns_analyzed
2014-11-19 08:01:12 +01:00
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.post_analysis.top_hits
------------------------------
2014-11-19 08:01:12 +01:00
2014-12-23 09:18:30 +01:00
Post analysis hook
Count TOP hits
2014-11-19 08:01:12 +01:00
Plugin requirements :
None
Conf values needed :
2014-12-23 09:18:30 +01:00
None
2014-11-19 08:01:12 +01:00
Output files :
None
Statistics creation :
None
Statistics update :
2014-12-23 09:18:30 +01:00
month_stats:
top_hits =>
uri
2014-11-19 08:01:12 +01:00
Statistics deletion :
None
2014-12-23 09:18:30 +01:00
plugins.post_analysis.top_downloads
-----------------------------------
2014-11-19 08:01:12 +01:00
2014-12-23 09:18:30 +01:00
Post analysis hook
2014-11-19 08:01:12 +01:00
2014-12-23 09:18:30 +01:00
Count TOP downloads
2014-11-19 08:01:12 +01:00
Plugin requirements :
None
Conf values needed :
2014-12-23 09:18:30 +01:00
None
2014-11-19 08:01:12 +01:00
Output files :
None
Statistics creation :
None
Statistics update :
2014-12-23 09:18:30 +01:00
month_stats:
top_downloads =>
uri
2014-11-19 08:01:12 +01:00
Statistics deletion :
None