diff options
author | diosmosis <benaka@piwik.pro> | 2014-12-08 08:58:59 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-12-08 08:58:59 +0300 |
commit | fe24bcc58633f65203275b79c911422913fab609 (patch) | |
tree | 1c681a2a7eb1a624c9fc937083020c60a9ff80cd /misc | |
parent | fa367aa6dc0a65ea9f776fd04a23cacd8e8038f8 (diff) |
Refs #4707, add test for netscaler logs, support already present due to last commit.
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/log-analytics/import_logs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py index 8d5afccc17..7b51d2e282 100755 --- a/misc/log-analytics/import_logs.py +++ b/misc/log-analytics/import_logs.py @@ -191,11 +191,11 @@ class IisFormat(RegexFormat): fields = { 'date': '(?P<date>^\d+[-\d+]+', - 'time': '[\d+:]+)[.\d]*?', # TODO should not assume date & time will be together + 'time': '[\d+:]+)[.\d]*?', # TODO should not assume date & time will be together not sure how to fix ATM. 'cs-uri-stem': '(?P<path>/\S*)', 'cs-uri-query': '(?P<query_string>\S*)', 'c-ip': '"?(?P<ip>[\d*.]*)"?', - 'cs(User-Agent)': '(?P<user_agent>".*?"|\S+)', # TODO: must remove quotes if found. also benchmark regex. + 'cs(User-Agent)': '(?P<user_agent>".*?"|\S+)', # TODO: also benchmark regex. 'cs(Referer)': '(?P<referrer>\S+)', 'sc-status': '(?P<status>\d+)', 'sc-bytes': '(?P<length>\S+)', |