Skip to content

deric/puppet-fluentbit

Repository files navigation

puppet-fluentbit Puppet Forge Test

A Puppet module to manage Fluent Bit installation.

Description

Fluent Bit is a fast, lightweight agent for trasporting logs, metrics, traces, etc.

In order to install the package and setup fluent-bit service, simply include the main class:

include fluentbit

Usage

Fluent Bit supports wide range of inputs

fluentbit pipeline

Define some inputs:

fluentbit::inputs:
  'tail-syslog':
    plugin: tail
    properties:
      Path: /var/syslog

outputs:

fluentbit::outputs:
  'prometheus':
    plugin: prometheus_exporter
    properties:
      match: nginx.metrics.*
      host: 0.0.0.0
      port: 2021

Configuration

Limit maximum memory usage per systemd unit:

fluentbit::service_override_unit_file: true
fluentbit::memory_max: 2G

All Puppet variables are documented in REFERENCE.md.

Acceptance tests

BEAKER_destroy=no BEAKER_setfile=debian11-64 bundle exec rake beaker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published