Giter Site home page Giter Site logo

ansible-fluentbit's Introduction

This Project is no longer maintance. Please visit https://github.com/julyninth/ansible-fluentbit


Role Name

Ansible role to install and configure Fluentbit.

Requirements

  • Ansible version >= 2.9

Role Variables

variables require description type default
fluentbit_inputs true fluentbit input configuration list(dict) []
fluentbit_outputs true fluentbit output configuration list(dict) []
fluentbit_service_flush false set an interval of seconds before to flush records to a destination number 5
fluentbit_service_daemon false instruct Fluent Bit to run in foreground or background mode. string Off
fluentbit_service_log_level false set the verbosity level of the service string info
fluentbit_service_parsers_file false specify an optional 'Parsers' configuration file string parsers.conf
fluentbit_service_plugins_file false specify an optional 'Plugins' configuration file to load external plugins string plugins.conf
fluentbit_service_http_server false enable/Disable the built-in HTTP Server for metrics string Off
fluentbit_service_http_listen false setup http server address string 0.0.0.0
fluentbit_service_http_port false set http server port number 2020
fluentbit_service_storage_metrics false publish storage pipeline metrics in '/api/v1/storage' string on
fluentbit_service_storage_path false absolute file system path to store filesystem data buffers (chunks) string "/var/lib/td-agent-bit"
fluentbit_service_storage_sync false configure the synchronization mode used to store the data into the string normal
fluentbit_service_storage_checksum false enable the data integrity check when writing and reading data from the string off
fluentbit_service_storage_backlog_mem_limit false this option configure a hint of maximum value of memory string 5M
fluentbit_service_storage_max_chunks_up false control memory usage number 128
fluentbit_service_additional false additional configuration list(dict) []
fluentbit_custom_parsers false fluentbit custom parser configuration list(dict) []
fluentbit_plugins_paths false fluentbit custom plugins configuration list(dict) []

more information on defaults

Dependencies

None

Installation

You can install this role via anslbie-galaxy.

ansible-galaxy install be99inner.fluentbit

Example Playbook

Example of playbook configuration, You need to specify fluentbit_inputs and fluentbit_outputs to make it run perfectly.

NOTE: You can specify your own variables in group_vars or host_vars.

- hosts: all
  become: true
  gather_facts: true
  vars:
    fluentbit_inputs:
      - {"name": "cpu", "tags": "cpu.local", "interval_sec": 5}
    fluentbit_outputs:
      - {"name: "stdout", "match": "*"}
  roles:
    - be99inner.fluentbit

License

MIT

Author Information

Anurak Jannawan (be99inner)

ansible-fluentbit's People

Contributors

be99inner avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.