diff options
author | Benjamin Doherty <bjd@bangpound.org> | 2013-05-01 20:37:06 +0400 |
---|---|---|
committer | Benjamin Doherty <bjd@bangpound.org> | 2013-05-01 20:39:48 +0400 |
commit | cc46f416191749673a46bcf8b2ed6c7f4c7c9a10 (patch) | |
tree | 912a676484acfd8a0a172e029c7b62e260d953aa /misc | |
parent | c493abfe0885e8dc9283ebae6254e0d8454f9c68 (diff) |
HTTP status codes should be a page scope custom variable.
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/log-analytics/import_logs.py | 2 |
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'], ''), |