diff options
author | Cyril Bay <cbay@excellency.fr> | 2012-06-01 14:33:17 +0400 |
---|---|---|
committer | Cyril Bay <cbay@excellency.fr> | 2012-06-01 14:33:17 +0400 |
commit | 5837dedfbb0d4d6b1433a53b263ee61545de3618 (patch) | |
tree | 9b8976c352fbef18984be0848c6df2fbf644b4bc | |
parent | 2b5d105daa5d929777961a618d95b8ac0dbba1af (diff) |
Refs #703 Set bots=1 accordingly.
git-svn-id: http://dev.piwik.org/svn/trunk@6433 59fd770c-687e-43c8-a1e3-f5a4ff64c105
-rwxr-xr-x | misc/log-analytics/import_logs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py index cfcb6722a6..1a5314dc68 100755 --- a/misc/log-analytics/import_logs.py +++ b/misc/log-analytics/import_logs.py @@ -972,6 +972,7 @@ class Recorder(object): args['_cvar'] = '{"1":["Bot","%s"]}' % hit.user_agent elif config.options.enable_bots: args['_cvar'] = '{"1":["Not-Bot","%s"]}' % hit.user_agent + args['bots'] = '1' if hit.is_error or hit.is_redirect: args['_cvar'] = '{"2":["HTTP-code","%s"]}' % hit.status args['action_name'] = '%s/URL = %s%s' % ( |