Add multi_format parser plugin configuration
Change-Id: I04a7785d1645005de462cd6cf00dda67b3339ae9
Related-bug: PROD-21904 (PROD:21904)
diff --git a/fluentd/files/parser/multi_format.conf b/fluentd/files/parser/multi_format.conf
new file mode 100644
index 0000000..cf5a6c0
--- /dev/null
+++ b/fluentd/files/parser/multi_format.conf
@@ -0,0 +1,11 @@
+{%- for pattern in values.patterns %}
+ <pattern>
+ format {{ pattern.get('type') }}
+{%- with values=pattern %}
+{%- macro include_pattern() %}
+{%- include 'fluentd/files/parser/' + pattern.get('type') + '.conf' %}
+{%- endmacro %}
+{{ include_pattern()|indent(width=2, indentfirst=True) }}
+{%- endwith %}
+ </pattern>
+{%- endfor %}