Quick Guide for Fluent Bit Agent for Logs

Fluent Bit is an open-source and multi-platform log processor tool for logs processing and distribution. See Fluent Bit Documentation. Also, see Installation.

To configure Fluent Bit to send data to the Kloudfuse stack:

  1. Modify the agent’s config.

    For Helm installations, modify the values.yaml file.

  2. Configure HTTP output plugin to forward data to Kloudfuse.

HTTP Plugin Integration

Add the following code to Fluent Bit agent’s config for HTTP configuration.

    [OUTPUT]
  Name http
  Match <match_pattern>
  Host <kfuse_ingress_ip>
  Port 443
  TLS on
  URI /ingester/v1/fluent_bit
  Format {json|json_lines|json_stream|msgpack}

Host IP/DNS name can be the either internal or external Kloudfuse ingress IP, depending on the Kloudfuse stack configuration.

  • Internal ingress: use port 80.

  • External ingress: use port 443.

Kloudfuse currently supports the following formats: msgpack, json, json_lines, and json_stream.

For more details, see Fluent Bit Guide.