Skip to content

Commit

Permalink
fixed default fluentbit config, use headers instead of query args (#1526
Browse files Browse the repository at this point in the history
)
  • Loading branch information
AndrewChubatiuk committed Sep 23, 2024
1 parent 428cb36 commit fa2fd5a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 24 deletions.
6 changes: 3 additions & 3 deletions charts/victoria-logs-single/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: fluent-bit
repository: https://fluent.github.io/helm-charts
version: 0.46.7
version: 0.47.9
- name: victoria-metrics-common
repository: https://victoriametrics.github.io/helm-charts
version: 0.0.13
digest: sha256:db8361f664e547d2d6b69b60bcf0f1cd363b9186cb2c58941f3d30e7f8d38692
generated: "2024-09-16T17:59:17.988528+03:00"
digest: sha256:929e113abbf3afeb266bad969ae0e815de005de3b3eb04148a1ad0bc6d5b5e39
generated: "2024-09-23T17:20:31.247018+03:00"
6 changes: 3 additions & 3 deletions charts/victoria-logs-single/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: v0.28.0
appVersion: v0.29.0
description: Victoria Logs Single version - high-performance, cost-effective and scalable logs storage
name: victoria-logs-single
version: 0.6.3
version: 0.6.4
sources:
- https://github.com/VictoriaMetrics/helm-charts
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
Expand All @@ -27,7 +27,7 @@ annotations:
url: https://docs.victoriametrics.com/VictoriaLogs/
dependencies:
- name: fluent-bit
version: "0.46.7"
version: "0.47.*"
repository: "https://fluent.github.io/helm-charts"
condition: fluent-bit.enabled
- name: victoria-metrics-common
Expand Down
39 changes: 21 additions & 18 deletions charts/victoria-logs-single/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,31 +326,34 @@ fluent-bit:
# @notationType -- tpl
outputs: |
[OUTPUT]
Name http
Match kube.*
Host '{{ include "victoria-logs.server.fullname" . }}'
port 9428
compress gzip
uri /insert/jsonline?_stream_fields=stream,kubernetes_pod_name,kubernetes_container_name,kubernetes_namespace_name&_msg_field=log&_time_field=date
format json_lines
Name http
Match kube.*
Host {{ include "victoria-logs.server.fullname" . }}
port 9428
compress gzip
uri /insert/jsonline
format json_lines
json_date_format iso8601
header AccountID 0
header ProjectID 0
header AccountID 0
header ProjectID 0
header VL-Msg-Field log
header VL-Time-Field date
header VL-Stream-Fields stream,kubernetes_pod_name,kubernetes_container_name,kubernetes_namespace_name
# -- FluentBit configuration filters
# @notationType -- tpl
filters: |
[FILTER]
Name kubernetes
Match kube.*
Merge_Log On
Keep_Log On
K8S-Logging.Parser On
Name kubernetes
Match kube.*
Merge_Log On
Keep_Log On
K8S-Logging.Parser On
K8S-Logging.Exclude On
[FILTER]
Name nest
Match *
Wildcard pod_name
Operation lift
Name nest
Match *
Wildcard pod_name
Operation lift
Nested_under kubernetes
Add_prefix kubernetes_
Expand Down

0 comments on commit fa2fd5a

Please sign in to comment.