Curator 5.4 issues


(Nikhil Pawar) #1

Hi ,
I am new to curator use. I have my ES cluster running on AWS ec2 with 6.2 version and curator 5.4 . Also using x-pack . Full ELK stack is functional but curator seems not to be working . Can someone help

Below are the curator.yml and delete_index.yml

[root@iacapps-es-node1 bin]# pwd
/usr/bin
[root@iacapps-es-node1 bin]# more delete_indices.yml
    ---
    # 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 older than 1 day (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
          continue_if_exception: False
          disable_action: False
        filters:
        - filtertype: pattern
          kind: prefix
          value: logs-
          exclude:
        - filtertype: age
          source: name
          direction: older
          timestring: '%Y.%m.%d'
          unit: days
          unit_count: 1
          exclude:

============================================

[root@iacapps-es-node1 bin]# more curator.yml
---
# Remember, leave a key empty if there is no value.  None will be a string,
# not a Python "NoneType"    
client:
      hosts:
        - 10.63.4.15
      port: 9200
      url_prefix:
      use_ssl: True
      certificate: '/etc/elasticsearch/certs/ca.crt'
      client_cert:
      client_key:
      ssl_no_validate: False
      http_auth:elastic:Ducati1199
      timeout: 30
      master_only: False

    logging:
      loglevel: DEBUG
      logfile: '/elastic/curator.log'
      logformat: default
      blacklist: ['elasticsearch', 'urllib3']
    [root@iacapps-es-node1 bin]#

Getting empty response & not able to see log file either.

[root@iacapps-es-node1 bin]# curator --config curator.yml delete_indices.yml --dry-run
[root@iacapps-es-node1 bin]#


(Nikhil Pawar) #2

Can someone help on this ?


(Nikhil Pawar) #3

Seems issue was with config sysntax


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.