From 90e3b6912ce1c70be63d5c948ff1372f4dfa3940 Mon Sep 17 00:00:00 2001 From: Wes Lambert Date: Wed, 5 Dec 2018 13:14:19 +0000 Subject: [PATCH] Curator - Remove Curator files from ES module --- .../files/curator/action/close.yml | 30 ------------------- .../files/curator/action/delete.yml | 23 -------------- salt/elasticsearch/files/curator/curator.yml | 22 -------------- 3 files changed, 75 deletions(-) delete mode 100644 salt/elasticsearch/files/curator/action/close.yml delete mode 100644 salt/elasticsearch/files/curator/action/delete.yml delete mode 100644 salt/elasticsearch/files/curator/curator.yml diff --git a/salt/elasticsearch/files/curator/action/close.yml b/salt/elasticsearch/files/curator/action/close.yml deleted file mode 100644 index a9ca54335..000000000 --- a/salt/elasticsearch/files/curator/action/close.yml +++ /dev/null @@ -1,30 +0,0 @@ ---- -# Remember, leave a key empty if there is no value. None will be a string, -# not a Python "NoneType" -# -# Also remember that all examples have 'disable_action' set to True. If you -# want to use this action as a template, be sure to set this to False after -# copying it. -actions: - 1: - action: close - description: >- - Close indices older than 2 days (based on index name), for logstash- - prefixed indices. - options: - delete_aliases: False - timeout_override: - continue_if_exception: False - disable_action: False - filters: - - filtertype: pattern - kind: prefix - value: logstash- - exclude: - - filtertype: age - source: name - direction: older - timestring: '%Y.%m.%d' - unit: days - unit_count: 2 - exclude: diff --git a/salt/elasticsearch/files/curator/action/delete.yml b/salt/elasticsearch/files/curator/action/delete.yml deleted file mode 100644 index cb55ec0c3..000000000 --- a/salt/elasticsearch/files/curator/action/delete.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -# Remember, leave a key empty if there is no value. None will be a string, -# not a Python "NoneType" -# -# Also remember that all examples have 'disable_action' set to True. If you -# want to use this action as a template, be sure to set this to False after -# copying it. -actions: - 1: - action: delete_indices - description: >- - Delete indices when $disk_space value (in GB) is exceeded. - options: - ignore_empty_list: True - disable_action: False - filters: - - filtertype: pattern - kind: prefix - value: logstash- - - filtertype: space - source: creation_date - use_age: True - disk_space: 43 diff --git a/salt/elasticsearch/files/curator/curator.yml b/salt/elasticsearch/files/curator/curator.yml deleted file mode 100644 index dc8b69309..000000000 --- a/salt/elasticsearch/files/curator/curator.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -# Remember, leave a key empty if there is no value. None will be a string, -# not a Python "NoneType" -client: - hosts: - - elasticsearch - port: 9200 - url_prefix: - use_ssl: False - certificate: - client_cert: - client_key: - ssl_no_validate: False - http_auth: - timeout: 30 - master_only: False - -logging: - loglevel: INFO - logfile: '/var/log/curator/curator.log' - logformat: default - blacklist: ['elasticsearch', 'urllib3']