Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed default fluentbit config, use headers instead of query args #1526

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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