[stable/fluent-bit] Added output es Logstash_DateFormat parameter (#22485)

* Added Logstash_DateFormat to fluent-bit template

Signed-off-by: Arturo Penen <apenen@gmail.com>

* Increase chart version

Signed-off-by: Arturo Penen <apenen@gmail.com>

* Corrected end if

Signed-off-by: Arturo Penen <apenen@gmail.com>
This commit is contained in:
Arturo
2020-05-25 01:49:11 -07:00
committed by GitHub
parent cf0ab9a08d
commit f6187869f3
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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. | `` |
+3
View File
@@ -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 }}