diff --git a/stable/fluent-bit/Chart.yaml b/stable/fluent-bit/Chart.yaml index 0a3e526e6c..1f4ed234aa 100755 --- a/stable/fluent-bit/Chart.yaml +++ b/stable/fluent-bit/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: fluent-bit -version: 2.8.14 +version: 2.8.15 appVersion: 1.3.7 description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX keywords: diff --git a/stable/fluent-bit/README.md b/stable/fluent-bit/README.md index ffeb70e4c8..c931b75106 100644 --- a/stable/fluent-bit/README.md +++ b/stable/fluent-bit/README.md @@ -48,6 +48,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an | `backend.es.logstash_format` | Enable Logstash format compatibility. | `On` | | `backend.es.logstash_prefix` | Index Prefix. If Logstash_Prefix is equal to 'mydata' your index will become 'mydata-YYYY.MM.DD'. | `kubernetes_cluster` | | `backend.es.logstash_prefix_key` | Index Prefix key. When included, the value in the record that belongs to the key will be looked up and overwrite `Logstash_Prefix` for index generation. If `Logstash_Prefix_Key` = 'mydata' the index becomes 'mydata-YYYY.MM.DD'. | `` | +| `backend.es.logstash_dateformat` | Time format (based on strftime) to generate the second part of the Index name. Fluent-bit by default use %Y.%m.%d | `` | | `backend.es.replace_dots` | Enable/Disable Replace_Dots option. | `On` | | `backend.es.http_user` | Optional username credential for Elastic X-Pack access. | `` | | `backend.es.http_passwd` | Password for user defined in HTTP_User. | `` | diff --git a/stable/fluent-bit/templates/config.yaml b/stable/fluent-bit/templates/config.yaml index 37bba568fd..174cf50666 100644 --- a/stable/fluent-bit/templates/config.yaml +++ b/stable/fluent-bit/templates/config.yaml @@ -141,6 +141,9 @@ data: {{- if .Values.backend.es.logstash_prefix_key }} Logstash_Prefix_Key {{ .Values.backend.es.logstash_prefix_key }} {{- end }} +{{- if .Values.backend.es.logstash_dateformat }} + Logstash_DateFormat {{ .Values.backend.es.logstash_dateformat }} +{{- end }} {{ else if .Values.backend.es.index }} Index {{ .Values.backend.es.index }} {{- end }}