summaryrefslogtreecommitdiffstats
path: root/fluent-bit/tests/runtime/data/kubernetes/parsers.conf
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/tests/runtime/data/kubernetes/parsers.conf')
-rw-r--r--fluent-bit/tests/runtime/data/kubernetes/parsers.conf88
1 files changed, 88 insertions, 0 deletions
diff --git a/fluent-bit/tests/runtime/data/kubernetes/parsers.conf b/fluent-bit/tests/runtime/data/kubernetes/parsers.conf
new file mode 100644
index 00000000..40014ec3
--- /dev/null
+++ b/fluent-bit/tests/runtime/data/kubernetes/parsers.conf
@@ -0,0 +1,88 @@
+[PARSER]
+ Name docker
+ Format json
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L%z
+
+[PARSER]
+ Name kubernetes-tag
+ Format regex
+ Regex ^(?<namespace_name>[^.]+).(?<pod_name>[^.]+).(?<container_name>[^.]+)$
+
+[PARSER]
+ Name regex-parser-without-time
+ Format regex
+ Regex ^(?<message>.+)$
+
+[PARSER]
+ Name regex-parser-with-time
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<message>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name json-parser-without-time
+ Format json
+
+[PARSER]
+ Name json-parser-with-time
+ Format json
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name default-parser
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<default_parser>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name default-stdout-parser
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<default_stdout_parser>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name default-stderr-parser
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<default_stderr_parser>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name container-1-parser
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<container_1_parser>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name container-2-stdout-parser
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<container_2_stdout_parser>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name container-2-stderr-parser
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<container_2_stderr_parser>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name container-3-stdout-parser
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<container_3_stdout_parser>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L
+
+[PARSER]
+ Name container-4-stderr-parser
+ Format regex
+ Regex ^\[(?<time>[^\]]+)\] (?<container_4_stderr_parser>.+)$
+ Time_Key time
+ Time_Format %Y-%m-%dT%H:%M:%S.%L