Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorBenjamin Doherty <bjd@bangpound.org>2013-05-01 20:37:06 +0400
committerBenjamin Doherty <bjd@bangpound.org>2013-05-01 20:39:48 +0400
commitcc46f416191749673a46bcf8b2ed6c7f4c7c9a10 (patch)
tree912a676484acfd8a0a172e029c7b62e260d953aa /misc
parentc493abfe0885e8dc9283ebae6254e0d8454f9c68 (diff)
HTTP status codes should be a page scope custom variable.
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/log-analytics/import_logs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py
index 68ae819e5d..a1bea946c2 100755
--- a/misc/log-analytics/import_logs.py
+++ b/misc/log-analytics/import_logs.py
@@ -1156,7 +1156,7 @@ class Recorder(object):
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['cvar'] = '{"1":["HTTP-code","%s"]}' % hit.status
args['action_name'] = '%s/URL = %s%s' % (
hit.status,
urllib.quote(args['url'], ''),