Skip to content

Commit

Permalink
Add Replace_Dots option to fluent-bit elasticsearch output
Browse files Browse the repository at this point in the history
This addresses fluent/fluent-bit#854.
Make 'Replace_Dots' settable for fluent-bit elasticsearch
output, and default to 'On'.

Signed-off-by: Don Bowman <db@donbowman.ca>
  • Loading branch information
donbowman committed Nov 1, 2018
1 parent c6c134b commit 521c146
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions stable/fluent-bit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an
| `backend.es.type` | Elastic Type name | `flb_type` |
| `backend.es.time_key` | Elastic Time Key | `@timestamp` |
| `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.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. | `` |
| `backend.es.tls` | Enable or disable TLS support | `off` |
Expand Down
1 change: 1 addition & 0 deletions stable/fluent-bit/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ data:
Host {{ .Values.backend.es.host }}
Port {{ .Values.backend.es.port }}
Logstash_Format On
Replace_Dots {{ .Values.backend.es.replace_dots }}
Retry_Limit False
Type {{ .Values.backend.es.type }}
{{- if .Values.backend.es.time_key }}
Expand Down
1 change: 1 addition & 0 deletions stable/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ backend:
index: kubernetes_cluster
type: flb_type
logstash_prefix: kubernetes_cluster
replace_dots: "on"
time_key: "@timestamp"
# Optional username credential for Elastic X-Pack access
http_user:
Expand Down

0 comments on commit 521c146

Please sign in to comment.