Replace # for module description by """ (help auto extraction)
This commit is contained in:
@@ -26,40 +26,40 @@ from iplugin import IPlugin
|
||||
|
||||
import awstats_data
|
||||
|
||||
#
|
||||
# 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
|
||||
#
|
||||
"""
|
||||
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
|
||||
"""
|
||||
|
||||
class IWLAPostAnalysisReferers(IPlugin):
|
||||
def __init__(self, iwla):
|
||||
|
||||
@@ -23,32 +23,32 @@ import socket
|
||||
from iwla import IWLA
|
||||
from iplugin import IPlugin
|
||||
|
||||
#
|
||||
# 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 :
|
||||
# None
|
||||
#
|
||||
"""
|
||||
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 :
|
||||
None
|
||||
"""
|
||||
|
||||
class IWLAPostAnalysisReverseDNS(IPlugin):
|
||||
DEFAULT_DNS_TIMEOUT = 0.5
|
||||
|
||||
@@ -23,31 +23,31 @@ import re
|
||||
from iwla import IWLA
|
||||
from iplugin import IPlugin
|
||||
|
||||
#
|
||||
# Post analysis hook
|
||||
#
|
||||
# Count TOP downloads
|
||||
#
|
||||
# Plugin requirements :
|
||||
# None
|
||||
#
|
||||
# Conf values needed :
|
||||
# None
|
||||
#
|
||||
# Output files :
|
||||
# None
|
||||
#
|
||||
# Statistics creation :
|
||||
# None
|
||||
#
|
||||
# Statistics update :
|
||||
# month_stats:
|
||||
# top_downloads =>
|
||||
# uri
|
||||
#
|
||||
# Statistics deletion :
|
||||
# None
|
||||
#
|
||||
"""
|
||||
Post analysis hook
|
||||
|
||||
Count TOP downloads
|
||||
|
||||
Plugin requirements :
|
||||
None
|
||||
|
||||
Conf values needed :
|
||||
None
|
||||
|
||||
Output files :
|
||||
None
|
||||
|
||||
Statistics creation :
|
||||
None
|
||||
|
||||
Statistics update :
|
||||
month_stats:
|
||||
top_downloads =>
|
||||
uri
|
||||
|
||||
Statistics deletion :
|
||||
None
|
||||
"""
|
||||
|
||||
class IWLAPostAnalysisTopDownloads(IPlugin):
|
||||
def __init__(self, iwla):
|
||||
|
||||
@@ -21,31 +21,31 @@
|
||||
from iwla import IWLA
|
||||
from iplugin import IPlugin
|
||||
|
||||
#
|
||||
# Post analysis hook
|
||||
#
|
||||
# Count TOP hits
|
||||
#
|
||||
# Plugin requirements :
|
||||
# None
|
||||
#
|
||||
# Conf values needed :
|
||||
# None
|
||||
#
|
||||
# Output files :
|
||||
# None
|
||||
#
|
||||
# Statistics creation :
|
||||
# None
|
||||
#
|
||||
# Statistics update :
|
||||
# month_stats:
|
||||
# top_hits =>
|
||||
# uri
|
||||
#
|
||||
# Statistics deletion :
|
||||
# None
|
||||
#
|
||||
"""
|
||||
Post analysis hook
|
||||
|
||||
Count TOP hits
|
||||
|
||||
Plugin requirements :
|
||||
None
|
||||
|
||||
Conf values needed :
|
||||
None
|
||||
|
||||
Output files :
|
||||
None
|
||||
|
||||
Statistics creation :
|
||||
None
|
||||
|
||||
Statistics update :
|
||||
month_stats:
|
||||
top_hits =>
|
||||
uri
|
||||
|
||||
Statistics deletion :
|
||||
None
|
||||
"""
|
||||
|
||||
class IWLAPostAnalysisTopHits(IPlugin):
|
||||
def __init__(self, iwla):
|
||||
|
||||
@@ -23,31 +23,31 @@ import re
|
||||
from iwla import IWLA
|
||||
from iplugin import IPlugin
|
||||
|
||||
#
|
||||
# Post analysis hook
|
||||
#
|
||||
# Count TOP pages
|
||||
#
|
||||
# Plugin requirements :
|
||||
# None
|
||||
#
|
||||
# Conf values needed :
|
||||
# None
|
||||
#
|
||||
# Output files :
|
||||
# None
|
||||
#
|
||||
# Statistics creation :
|
||||
# None
|
||||
#
|
||||
# Statistics update :
|
||||
# month_stats:
|
||||
# top_pages =>
|
||||
# uri
|
||||
#
|
||||
# Statistics deletion :
|
||||
# None
|
||||
#
|
||||
"""
|
||||
Post analysis hook
|
||||
|
||||
Count TOP pages
|
||||
|
||||
Plugin requirements :
|
||||
None
|
||||
|
||||
Conf values needed :
|
||||
None
|
||||
|
||||
Output files :
|
||||
None
|
||||
|
||||
Statistics creation :
|
||||
None
|
||||
|
||||
Statistics update :
|
||||
month_stats:
|
||||
top_pages =>
|
||||
uri
|
||||
|
||||
Statistics deletion :
|
||||
None
|
||||
"""
|
||||
|
||||
class IWLAPostAnalysisTopPages(IPlugin):
|
||||
def __init__(self, iwla):
|
||||
|
||||
Reference in New Issue
Block a user