elasticsearch_curator
elasticsearch-curator
Ansible role to install and configure Elasticsearch curator and index lifecycle management.
Sponsor
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
Table of content
- Requirements
- Default Variables
- elasticsearch_curator_actions
- elasticsearch_curator_enabled
- elasticsearch_curator_hosts
- elasticsearch_curator_interval
- elasticsearch_curator_library
- elasticsearch_curator_log_blacklist
- elasticsearch_curator_log_format
- elasticsearch_curator_log_level
- elasticsearch_curator_restart_service
- elasticsearch_curator_version
- Discovered Tags
- Dependencies
- License
- Author
Requirements
- Minimum Ansible version:
2.10
Default Variables
elasticsearch_curator_actions
Definition of curator actions
Default value
elasticsearch_curator_actions:
Example usage
elasticsearch_curator_actions:
1:
action: delete_indices
description: >-
Delete indices older than 45 days (based on index name), for logstash-
prefixed indices. Ignore the error if the filter does not result in an
actionable list of indices (ignore_empty_list) and exit cleanly.
options:
ignore_empty_list: True
disable_action: True
filters:
- filtertype: pattern
kind: prefix
value: logstash-
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: months
unit_count: 1
elasticsearch_curator_enabled
Enable installation and configuration
Default value
elasticsearch_curator_enabled: true
elasticsearch_curator_hosts
List of elasticsearch hosts
Default value
elasticsearch_curator_hosts: []
Example usage
elasticsearch_curator_hosts:
- elastic1.example.com
- elastic2.example.com
- elastic3.example.com
elasticsearch_curator_interval
Interval to execute service
Default value
elasticsearch_curator_interval: daily
elasticsearch_curator_library
Optionally use a downgraded version of elasticsearch library
Default value
elasticsearch_curator_library:
elasticsearch_curator_log_blacklist
Default value
elasticsearch_curator_log_blacklist:
- elasticsearch
- urllib3
elasticsearch_curator_log_format
Log blacklist
Default value
elasticsearch_curator_log_format: default
elasticsearch_curator_log_level
Log level
Default value
elasticsearch_curator_log_level: INFO
elasticsearch_curator_restart_service
Restart timer and service or only timer
Default value
elasticsearch_curator_restart_service: true
elasticsearch_curator_version
Version to install
Default value
elasticsearch_curator_version: 8.0.16
Discovered Tags
elasticsearch-curator
Dependencies
- None
License
Apache-2.0
Author
About
Ansible role to install and configure Elasticsearch curator and index lifecycle management
Install
ansible-galaxy install rolehippie/elasticsearch-curator
License
apache-2.0
Downloads
23
Owner
Ansible role collection of Webhippie