Skip to content

Software - Beats

Go to Automation

View in GitLab

Description

This playbook installs and configures various Beats agents on a target host. It opies necessary files, checks for existing installations, and retrieves current version information. If the agent is outdated, it stops the service, removes the existing folder, and copies the new version. It also sets configuration files based on the target's role (e.g., domain controller) and retrieves team information from the server database. Finally, it installs the service if not present and restarts it if needed. Specific tasks are included for Packetbeat and Winlogbeat configurations.

Deprication warning: wil be replaced by Elastic Agent in the near future

Credentials

  • sys_ansible_windows
  • DG_ServersUser1 (SQL user)

Input

Variable Description
target Target hosts for the playbook
version Version of the Beats agent to install
beats Type of beats agent

Output

None

Dependencies