boutetnico / ansible-role-logstash

Install and configure Logstash with Ansible.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tests Ansible Galaxy

ansible-role-logstash

This role installs and configures Logstash.

Requirements

Ansible 2.10 or newer.

Supported Platforms

Role Variables

Variable Required Default Choices Comments
logstash_dependencies true [apt-transport-https, gnupg] list
logstash_use_oss true false bool Whether to use Open Source version or not.
logstash_package_state true present string Use latest to upgrade logstash.
logstash_user true logstash string
logstash_group true logstash string
logstash_secondary_groups true [] list
logstash_path_data true /var/lib/logstash string
logstash_path_config true /etc/logstash/conf.d string
logstash_path_logs true /var/log/logstash string
logstash_log_level true info string
logstash_conf_fileglob true files/*.conf string
logstash_plugins true [] list
logstash_jvm_heap_size true 1g string
logstash_extra_config true {} dict

Dependencies

Java 8+ or equivalent. For testing this roles uses default-jre-headless package.

Example Playbook

- hosts: all
  roles:
    - role: ansible-role-logstash

Testing

molecule test

License

MIT

Author Information

@boutetnico

About

Install and configure Logstash with Ansible.

License:MIT License


Languages

Language:Jinja 66.0%Language:Python 34.0%