summaryrefslogtreecommitdiffstats
path: root/fluent-bit/examples/windows/kubernetes/configmap.yaml
blob: 18ee0b99dde0db8405145598aad9f16fb2ddb9d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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