summaryrefslogtreecommitdiffstats
path: root/fluent-bit/examples/windows/kubernetes/configmap.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/examples/windows/kubernetes/configmap.yaml')
-rw-r--r--fluent-bit/examples/windows/kubernetes/configmap.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/fluent-bit/examples/windows/kubernetes/configmap.yaml b/fluent-bit/examples/windows/kubernetes/configmap.yaml
new file mode 100644
index 00000000..18ee0b99
--- /dev/null
+++ b/fluent-bit/examples/windows/kubernetes/configmap.yaml
@@ -0,0 +1,24 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: fluentbit-config
+data:
+ fluent-bit.conf: |-
+ [SERVICE]
+ Flush 5
+ Daemon off
+ Log_Level info
+
+ [INPUT]
+ Name tail
+ Path c:\\logs\\*.log
+ Refresh_Interval 60
+ Ignore_Older 10s
+ Rotate_Wait 5
+ DB c:\\state\\logs.db
+
+ [OUTPUT]
+ Name stdout
+ Match *
+ Format json_lines
+ json_date_format iso8601