From d602d0c0fe086c437f3b80219e82e9c05eaff89a Mon Sep 17 00:00:00 2001
From: Bernhard Mallinger <bernhard.mallinger@eox.at>
Date: Tue, 8 Sep 2020 10:40:41 +0200
Subject: [PATCH] Keep fields like `container_name` when parsing apache logs

---
 fluentd/conf/fluent.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fluentd/conf/fluent.conf b/fluentd/conf/fluent.conf
index d869a0e3..41c2b874 100644
--- a/fluentd/conf/fluent.conf
+++ b/fluentd/conf/fluent.conf
@@ -20,6 +20,7 @@
 <filter stdout.docker.apache2>
   @type parser
   key_name log
+  reserve_data true
   <parse>
    @type regexp
    # this is basically apache2 but also has the request time at the end as extra field
-- 
GitLab