From df5ac352f916c1118fba0ddd61cf6cea2b4a1b70 Mon Sep 17 00:00:00 2001 From: Sergey Fedotov Date: Thu, 23 Feb 2017 14:32:42 +0300 Subject: [PATCH] Allow escape sequences in Apache access log --- lib/fluent/plugin/parser_apache2.rb | 2 +- test/plugin/test_parser_apache2.rb | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/fluent/plugin/parser_apache2.rb b/lib/fluent/plugin/parser_apache2.rb index fd1a69e9b6..8c18c56bc7 100644 --- a/lib/fluent/plugin/parser_apache2.rb +++ b/lib/fluent/plugin/parser_apache2.rb @@ -21,7 +21,7 @@ module Plugin class Apache2Parser < Parser Plugin.register_parser('apache2', self) - REGEXP = /^(?[^ ]*) [^ ]* (?[^ ]*) \[(?