Skip to content

mon-elastic-logstash

Used through CLI, needs te be converted to Ansible template

View in GitLab

Description

This playbook automates the deployment and management of Logstash nodes in an Elastic Stack environment using the mon-elastic-logstash role.
This Ansible role automates the installation, configuration, and management of Logstash. It ensures the creation of necessary directories, manages Logstash users and groups, and handles the deployment of configuration files, patterns, and plugins. The role supports downloading and applying custom Grok patterns, JDBC drivers, and dictionary files. It also configures JVM options, log settings, and systemd services for Logstash. The role validates required variables, ensures proper file permissions, and integrates with external repositories for pattern updates. Additionally, it provides flexibility for custom configurations through variables and supports restarting the Logstash service upon configuration changes.

Credentials

Ansible vaults in vars folder

Input

Variable Description
target Target hosts for the playbook execution

Output

None

Dependencies