diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py index 68ae819e5da..a1bea946c23 100755 --- a/misc/log-analytics/import_logs.py +++ b/misc/log-analytics/import_logs.py @@ -1156,7 +1156,7 @@ def _get_hit_args(self, hit): 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'], ''),