fluent-bit

command
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

README

Fluent Bit output plugin

Fluent Bit is a Fast and Lightweight Data Forwarder, it can be configured with the Loki output plugin to ship logs to Loki. You can define which log files you want to collect using the Tail or Stdin input plugin. Additionally Fluent Bit supports multiple Filter and Parser plugins (Kubernetes, JSON, etc..) to structure and alter log lines.

This plugin is implemented with Fluent Bit's Go plugin interface. It pushes logs to Loki using a GRPC connection.

syslog and systemd input plugin have not been tested yet, feedback appreciated.

Building

Prerequisites:

  • Go 1.16+
  • gcc (for cgo)

To build the output plugin library file (out_grafarg_loki.so), you can use:

make fluent-bit-plugin

You can also build the docker image with the plugin pre-installed using:

make fluent-bit-image

Finally if you want to test you can use make fluent-bit-test to send some logs to your local Loki instance.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL