Forge Home

fluentbit

Manage fluentbit installation

2,563 downloads

97 latest version

Version information

  • 2.0.0 (latest)
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.0
released Apr 15th 2025
This version is compatible with:
  • Puppet Enterprise 2025.2.x, 2025.1.x, 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2021.7.x
  • Puppet >= 7.24 < 9.0.0
  • , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'deric-fluentbit', '2.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add deric-fluentbit
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install deric-fluentbit --version 2.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

deric/fluentbit — version 2.0.0 Apr 15th 2025

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

Service configuration:

fluentbit::service:
  log_level: debug
  mem_buf_limit: 50MB
  storage.pause_on_chunks_overlimit: 'on'

Use specific fluent-bit version:

fluentbit::package_ensure: 3.2.9

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