Coder Social home page Coder Social logo

ansible-role-fluentbit's Introduction

Ansible Role Fluentbit

Build Status Ansible Galaxy

This role install Fluentbit as a service on given hosts

Installation

ansible-galaxy install orachide.fluentbit

Requirements

None

Role Variables

Variables Required Default value Description
fluentbit_service_flush_seconds false 5 Flush interval in seconds
fluentbit_service_metrics_listen_port false 2020 Http endpoint (metrics) port
fluentbit_inputs false [] Array of inputs (in JSON format) to add in default conf file
fluentbit_outputs false [] Array of ouputs (in JSON format) to add in default conf file
fluentbit_additional_conf_files false [] Additional conf files to be installed, could be Jinja template
fluentbit_apt_repo false deb https://packages.fluentbit.io/ubuntu/bionic bionic main An apt source url to use

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- name: Converge
  hosts: all
  roles:
    - role: ansible-role-fluentbit
      fluentbit_service_flush_seconds: 5
      fluentbit_service_log_level: info
      fluentbit_service_enable_metrics: true
      fluentbit_service_metrics_listen_port: 2020
      fluentbit_apt_repo: 'deb https://packages.fluentbit.io/debian/buster buster main'
      fluentbit_inputs:
        - {"Name": "dummy", "Tag": "dummy.log"}
      fluentbit_outputs:
        - {"Name": "stdout", "Match": "*"}
      fluentbit_additional_conf_files:
        - name: cpu.conf
          template: '{{ playbook_dir }}/templates/cpu.conf.j2'

License

BSD

Author Information

This role was created in 2019 by Rachide Ouattara.

ansible-role-fluentbit's People

Contributors

123blin avatar dependabot[bot] avatar orachide avatar robgmills avatar teajunk avatar tjend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ansible-role-fluentbit's Issues

Custom parser files

Hey!

I'm trying to setup some custom parser files and include them in the config to be used by the inputs.

The parser files aren't copied to the server, shouldn't they be?

How do you suggest doing it?

Thanks!

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.