Skip to content

A Puppet module for the Fluent-bit log shipper.

License

Notifications You must be signed in to change notification settings

SMX-LTD/puppet-fluent_bit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluent-bit

Install, configure, and manage Fluent-bit log shipper. This module is heavily inspired from https://github.com/soylent/konstantin-fluentd/

Module Description

  • Installs td-agent package
  • Generates configuration file td-agent-bit.conf
  • Manages td-agent-bit service

Usage Examples

Basic

Install and start the service.

class { 'fluent-bit': }

Hiera Support

Defining Fluentd resources in Hiera.

fluent_bit::configs:
  'my_cpu':
    service: 'INPUT'
    name: 'cpu'
    tag: 'tag1'

# optional custom parsers configuration
fluent_bit::parsers:
  parser_01:
    service: 'PARSER'
    name: 'parser_01'
    format: 'regex'
    regex: '^(?<time>[^ ]*) (?<message>[^$]*)$'
    time_key: 'time'
    time_format: '%Y-%m-%dT%H:%M:%S,%L'

Limitations

Tested on Ubuntu 16.04

Development

Bug reports and pull requests are welcome!

About

A Puppet module for the Fluent-bit log shipper.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 78.3%
  • Ruby 21.7%