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:
authordiosmosis <benaka@piwik.pro>2014-12-08 08:58:59 +0300
committerdiosmosis <benaka@piwik.pro>2014-12-08 08:58:59 +0300
commitfe24bcc58633f65203275b79c911422913fab609 (patch)
tree1c681a2a7eb1a624c9fc937083020c60a9ff80cd /misc
parentfa367aa6dc0a65ea9f776fd04a23cacd8e8038f8 (diff)
Refs #4707, add test for netscaler logs, support already present due to last commit.
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/log-analytics/import_logs.py4
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+)',