Git Product home page Git Product logo

ansible-role-beats's Introduction

Filebeat

CI

This role installs and configures Filebeat.

WARNING: This is a very, very early prototype only usable for a very specific environment. DO NOT USE IN PRODUCTION

Requirements

You need to have Filebeat available in your software repositories. We provide a role for just that but if you have other ways of managing software, just make sure it's available. Alternatively you can install Filebeat yourself.

Role Variables

  • filebeat_syslog_udp: Use UDP Syslog input (Default: false)
  • filebeat_syslog_udp_port: Port of UDP Syslog input (Default: 514)
  • filebeat_syslog_tcp: Use TCP Syslog input (Default: false)
  • filebeat_syslog_tcp_port: Port of TCP Syslog input (Default: 514)
  • filebeat_log_input: Enable Logfile reading (Default: true)
  • filebeat_log_inputs: Logfiles to read (Default: see below)

Default of filebeat_log_inputs

  messages:
    name: messages
    paths:
      - /var/log/messages
  • filebeat_output: Set to logstash or elasticsearch. (default: logstash)
  • filebeat_target_hosts: Only use when this role is used standalone. When used in combination with our other roles, the target hosts will be determined automatically. (default: localhost)

The following variables only apply if you use this role together with our other Elastic Stack roles.

  • elastic_stack_full_stack: Use ansible-role-elasticsearch as well (default: false)
  • elastic_ca_dir: Directory where on the Elasticsearch CA host certificates are stored. This is only useful in connection with out other Elastic Stack related roles. (default: /opt/es-ca)
  • elastic_ca_pass: Password for Elasticsearch CA (default: PleaseChangeMe)
  • elastic_initial_passwords: Path to file with initical elasticsearch passwords (default: /usr/share/elasticsearch/initial_passwords)

Dependencies

None yet

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:

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

GPL-3.0-or-later

Author Information

An optional section for the role authors to include contact information, or a website (HTML is not allowed).

ansible-role-beats's People

Contributors

widhalmt avatar aditya28sarin avatar

Watchers

James Cloos 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.