[stable/fluent-bit] Add ignore_older parameter support for tail input… (#17443)

* [stable/fluent-bit] Add ignore_older parameter support for tail input plugin

Signed-off-by: Pascal Morillon <pascal.morillon@irisa.fr>

* [stable/fluent-bit] Fixes default values for input.tail.ignore_older

Signed-off-by: Pascal Morillon <pascal.morillon@irisa.fr>
This commit is contained in:
Pascal Morillon
2019-10-02 00:37:07 -07:00
committed by Kubernetes Prow Robot
parent 134c0f357a
commit d973c8ba0b
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: fluent-bit
version: 2.7.0
version: 2.7.1
appVersion: 1.2.2
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
+1
View File
@@ -114,6 +114,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an
| `input.tail.memBufLimit` | Specify Mem_Buf_Limit in tail input | `5MB` |
| `input.tail.parser` | Specify Parser in tail input. | `docker` |
| `input.tail.path` | Specify log file(s) through the use of common wildcards. | `/var/log/containers/*.log` |
| `input.tail.ignore_older` | Ignores files that have been last modified before this time in seconds. Supports m,h,d (minutes, hours,days) syntax. | `` |
| `input.systemd.enabled` | [Enable systemd input](https://docs.fluentbit.io/manual/input/systemd) | `false` |
| `input.systemd.filters.systemdUnit` | Please see https://docs.fluentbit.io/manual/input/systemd | `[docker.service, kubelet.service`, `node-problem-detector.service]` |
| `input.systemd.maxEntries` | Please see https://docs.fluentbit.io/manual/input/systemd | `1000` |
+3
View File
@@ -33,6 +33,9 @@ data:
Refresh_Interval 5
Mem_Buf_Limit {{ .Values.input.tail.memBufLimit }}
Skip_Long_Lines On
{{- if .Values.input.tail.ignore_older }}
Ignore_Older {{ .Values.input.tail.ignore_older }}
{{- end }}
{{- if .Values.trackOffsets }}
DB /tail-db/tail-containers-state.db
DB.Sync Normal
+1
View File
@@ -221,6 +221,7 @@ input:
memBufLimit: 5MB
parser: docker
path: /var/log/containers/*.log
ignore_older: ""
systemd:
enabled: false
filters: