Skip to content

Linux - Filebeat

Go to Automation

View in GitLab

Description

This playbook uses the mon-elastic-beat-filebeat role to ensure that Filebeat is installed.
The role automates the installation, configuration, and management of Elastic's Filebeat on target systems. It ensures the correct version of Filebeat is installed, leveraging variables for version control. The role fetches configuration files from a Git repository and applies host or group-specific configurations, falling back to default settings when necessary. It supports CentOS/RHEL 7 and 8, creating systemd overrides and reloading daemons as needed. Filebeat is enabled and started, with error handling and debugging for better traceability. The role also manages repository configurations for Elastic's 7.x and 8.x packages, ensuring compatibility with the target environment.

Credentials

None

Input

Variable Description
target Target host or group for the playbook.

Output

None

Dependencies