Support Contact
Description
This playbook uses the mon-elastic-support-contact Ansible role.
It automates the collection and management of logs from Elastic clusters. It fetches logs from all nodes in a specified cluster, compresses them into a zip archive, and transfers the archive to a designated Windows share for further analysis. The role supports both QA and PR Elastic clusters, dynamically setting the cluster context based on the target environment. It includes tasks for cleaning up temporary files and directories after log processing to ensure efficient resource usage. Additionally, the role provides flexibility to include other tasks, such as installing diagnostics tools, based on user-defined conditions. This role is designed to streamline log collection and transfer processes, ensuring reliability and traceability in Elastic cluster operations.
Credentials
None
Input
| Variable | Description |
|---|---|
target |
Target host or group for the playbook. |
collect_logs |
Boolean to determine if logs should be collected. |
install_diagnostics |
Boolean to determine if diagnostics should be installed. |
Output
None