robertdebock.logstash

Ansible Role Logstash

THIS ROLE HAS BEEN ARCHIVED AS OF DEC 2023.

This role helps you to install and set up Logstash on your system.

GitHub GitLab Downloads Version
github gitlab downloads Version

Example Playbook

Here’s a simple playbook to use this role, taken from molecule/default/converge.yml. It is tested frequently.

---
- name: Converge
  hosts: all
  become: yes
  gather_facts: yes

  roles:
    - role: robertdebock.logstash

Before running, make sure to prepare the system using molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: yes
  gather_facts: no

  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.core_dependencies
    - role: robertdebock.elastic_repo

For more details on using these roles, check out this explanation and example.

Role Variables

Default values for the variables can be found in defaults/main.yml:

---
# defaults file for logstash

# Choose the type of Logstash: "oss" (Apache 2.0 license) or "elastic" (Elastic license)
logstash_type: oss

Requirements

State of Used Roles

These roles are used to prepare your system. You can choose another preparation method.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab
robertdebock.core_dependencies Build Status GitHub Build Status GitLab
robertdebock.elastic_repo Build Status GitHub Build Status GitLab

Context

This role is part of several compatible roles. For more information, check the documentation for these roles here.

dependencies

Compatibility

This role has been tested with these container images:

Container Tags
Amazon all
Debian all
EL all
Fedora all
Ubuntu focal, bionic

You need at least Ansible version 2.12, and tests have been done on:

  • The previous version.
  • The current version.
  • The development version.

If you encounter any issues, please report them on GitHub.

License

This role is licensed under Apache-2.0.

Author Information

Created by robertdebock.

If you'd like to support me, consider sponsoring me.

Informazioni sul progetto

Install and configure Logstash on your system.

Installa
ansible-galaxy install robertdebock.logstash
Licenza
apache-2.0
Download
28.6k
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.