Image Overview: fluent-bit-plugin-loki

Overview: fluent-bit-plugin-loki Chainguard Image

The Fluent Bit Loki plugin allows you to send your log or events to a Loki service.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/fluent-bit-plugin-loki:latest

Usage

Docker

You can run a Fluent Bit container with the Loki output plugin pre-installed using the following command:

docker run -v /var/log:/var/log \
    -e LOG_PATH="/var/log/*.log" -e LOKI_URL="http://localhost:3100/loki/api/v1/push" \
    cgr.dev/chainguard/fluent-bit-plugin-loki:latest

The GitHub repository has more details on running the fluent-bit plugin.
Note: The default loki plugin config can be found at /fluent-bit/etc/fluent-bit-loki.conf.

Helm

The plugin can also be installed using the fluent-bit helm chart by configuring the image values:

image:
  repository: cgr.dev/chainguard/fluent-bit-plugin-loki
  tag: latest

For detailed instructions on setting up the Fluent Bit Loki plugin, refer to the Loki documentation.

Last updated: 2024-05-16 00:37