-
-
Save jalogisch/12d7e173c555505854a4f9bffbf3155d to your computer and use it in GitHub Desktop.
Graylog hot/warm Elasticsearch Cluster Curator config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actions: | |
1: | |
action: allocation | |
description: "Apply shard allocation filtering rules to the specified indices" | |
options: | |
key: box_type | |
value: warm | |
allocation_type: require | |
wait_for_completion: true | |
timeout_override: | |
continue_if_exception: false | |
disable_action: false | |
filters: | |
- filtertype: pattern | |
kind: prefix | |
value: graylog_ | |
- filtertype: age | |
source: creation_date | |
direction: older | |
unit: days | |
unit_count: 2 | |
2: | |
action: forcemerge | |
description: "Perform a forceMerge on selected indices to 'max_num_segments' per shard" | |
options: | |
max_num_segments: 1 | |
delay: | |
timeout_override: 21600 | |
continue_if_exception: false | |
disable_action: false | |
filters: | |
- filtertype: pattern | |
kind: prefix | |
value: graylog_ | |
- filtertype: age | |
source: creation_date | |
direction: older | |
unit: days | |
unit_count: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
he @nix-power
this action is given to lower the number of segments in the shards.