[stable/fluent-bit] Add Logstash_Prefix_Key as an optional parameter (#20719)

Signed-off-by: Chris Minton <christopher.minton@sainsburys.co.uk>
This commit is contained in:
Chris Minton
2020-02-17 10:25:28 -08:00
committed by GitHub
parent 9720c18ef6
commit 8a0bb4e865
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: fluent-bit
version: 2.8.9
version: 2.8.10
appVersion: 1.3.7
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
+2 -1
View File
@@ -46,7 +46,8 @@ The following table lists the configurable parameters of the Fluent-Bit chart an
| `backend.es.retry_limit` | Max number of retries to attempt (False == no limit) | `False` |
| `backend.es.time_key` | Elastic Time Key | `@timestamp` |
| `backend.es.logstash_format` | Enable Logstash format compatibility. | `On` |
| `backend.es.logstash_prefix` | Index Prefix. If Logstash_Prefix is equals to 'mydata' your index will become 'mydata-YYYY.MM.DD'. | `kubernetes_cluster` |
| `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.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
@@ -138,6 +138,9 @@ data:
{{- end }}
{{- if .Values.backend.es.logstash_prefix }}
Logstash_Prefix {{ .Values.backend.es.logstash_prefix }}
{{- if .Values.backend.es.logstash_prefix_key }}
Logstash_Prefix_Key {{ .Values.backend.es.logstash_prefix_key }}
{{- end }}
{{ else if .Values.backend.es.index }}
Index {{ .Values.backend.es.index }}
{{- end }}