Closed DutchEllie closed 2 years ago
Okay, I am so sorry for even bothering anyone to read my message. I figured out what it was, something I really never thought of until I accidentally stumbled across it. Turns out my cluster's AWS security group did not allow outbound traffic, which is why the connection never worked....
Bug Report
After deploying fluent-bit using Helm on my Kubernetes cluster I get errors when trying to export to a Graylog server using the GELF output.
To Reproduce
Expected behavior I expect the log messages to be delivered to Graylog.
Your Environment
serviceAccount: create: true name: fluent-bit
rbac: create: true nodeAccess: false
service: labels: k8s-app: fluent-bit-logging version: v1 kubernetes.io/cluster-service: "true" annotations: prometheus.io/scrape: "true" prometheus.io/port: "2020" prometheus.io/path: /api/v1/metrics/prometheus
config: service: | [SERVICE] Flush 5 Log_Level error Daemon off Parsers_File parsers.conf HTTP_Server On HTTP_Listen 0.0.0.0 HTTP_Port {{ .Values.metricsPort }} Health_Check On
inputs: | [INPUT] Name tail Tag kube. Path /var/log/containers/.log Parser docker DB /var/log/flb_kube.db Mem_Buf_Limit 5MB Refresh_Interval 10
filters: |
Enrich with kubernetes properties
outputs: | [OUTPUT] Name gelf Match kube.* Host x.x.x.x Port 12201 Mode tcp Gelf_Short_Message_Key message
extraFiles: parsers.conf: | [PARSER] Name docker Format json Time_Key time Time_Format %Y-%m-%dT%H:%M:%S.%L Time_Keep Off