Main key for visits is now remote_ip and not remote_addr
This commit is contained in:
@@ -39,7 +39,7 @@ Output files :
|
||||
|
||||
Statistics creation :
|
||||
visits :
|
||||
remote_addr =>
|
||||
remote_ip =>
|
||||
browser
|
||||
|
||||
month_stats :
|
||||
@@ -99,7 +99,7 @@ class IWLAPostAnalysisBrowsers(IPlugin):
|
||||
|
||||
for (k, super_hit) in stats.items():
|
||||
if not 'browser' in super_hit:
|
||||
for r in super_hit['requests'][::-1]:
|
||||
for r in super_hit['requests']:
|
||||
user_agent = r['http_user_agent']
|
||||
if not user_agent: continue
|
||||
|
||||
|
@@ -45,7 +45,7 @@ Output files :
|
||||
None
|
||||
|
||||
Statistics creation :
|
||||
remote_addr =>
|
||||
remote_ip =>
|
||||
feed_parser
|
||||
feed_name_analysed
|
||||
feed_parser_last_access (for merged parser)
|
||||
|
@@ -66,13 +66,13 @@ Output files :
|
||||
|
||||
Statistics creation :
|
||||
visits :
|
||||
remote_addr =>
|
||||
remote_ip =>
|
||||
filtered
|
||||
geo_location
|
||||
|
||||
Statistics update :
|
||||
visits :
|
||||
remote_addr =>
|
||||
remote_ip =>
|
||||
keep_requests
|
||||
|
||||
Statistics deletion :
|
||||
@@ -92,7 +92,7 @@ class IWLAPostAnalysisFilterUsers(IPlugin):
|
||||
raise Exception('Bad filter ' + ' '.join(_filter))
|
||||
except Exception as e:
|
||||
if field == 'ip':
|
||||
_filter[0] = 'remote_addr'
|
||||
_filter[0] = 'remote_ip'
|
||||
if operator not in ('=', '==', '!=', 'in', 'match'):
|
||||
raise Exception('Bad filter ' + ' '.join(_filter))
|
||||
if operator == 'match':
|
||||
|
@@ -39,7 +39,7 @@ Output files :
|
||||
|
||||
Statistics creation :
|
||||
visits :
|
||||
remote_addr =>
|
||||
remote_ip =>
|
||||
ip_type
|
||||
|
||||
month_stats :
|
||||
|
@@ -41,7 +41,7 @@ Output files :
|
||||
|
||||
Statistics creation :
|
||||
visits :
|
||||
remote_addr =>
|
||||
remote_ip =>
|
||||
operating_system
|
||||
|
||||
month_stats :
|
||||
|
Reference in New Issue
Block a user