diff --git a/plugins/microsoft_iis.yaml b/plugins/microsoft_iis.yaml index 6cf8bb88..ee59c1b8 100644 --- a/plugins/microsoft_iis.yaml +++ b/plugins/microsoft_iis.yaml @@ -28,7 +28,7 @@ pipeline: include: - {{ $file_path }} multiline: - line_start_pattern: \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} [\d+.]+ + line_start_pattern: '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} ' start_at: {{ $start_at }} labels: log_type: microsoft_iis @@ -37,7 +37,7 @@ pipeline: - id: microsoft_iis_parser type: regex_parser - regex: '^(?P\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}) (?P[\d+.]+) (?P[A-Z]+) (?P[^ ]+) (?P[^ ]+) (?P\d+) (?P[^ ]+) (?P[\d+.]+) (?P[^ ]+) (?P[^ ]+) (?P\d+) (?P\d+) (?P\d+) (?P\d+)' + regex: '^(?P\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}) (?P[\d\w\.:]+) (?P[A-Z]+) (?P[^ ]+) (?P[^ ]+) (?P\d+) (?P[^ ]+) (?P[\d\w\.:]+) (?P[^ ]+) (?P[^ ]+) (?P\d+) (?P\d+) (?P\d+) (?P\d+)' timestamp: parse_from: timestamp layout: '%Y-%m-%d %H:%M:%S'