Created
December 29, 2017 13:06
-
-
Save jordanpotti/8265b17406211daf7a7d6a656d57c3d7 to your computer and use it in GitHub Desktop.
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: delete_indices | |
description: >- | |
Delete indices older than X days (based on index name), for winlogbeat- | |
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: False | |
filters: | |
- filtertype: pattern | |
kind: prefix | |
value: winlogbeat- | |
- filtertype: age | |
source: name | |
direction: older | |
timestring: '%Y.%m.%d' | |
unit: days | |
DAYSPLACEHOLDER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment