Curator snapshot - "Schema Error"

Hello,
Getting the following error when running the curator command:
sudo curator --config /etc/elasticsearch/curator.yml /etc/elasticsearch/snapshot_indices.yml

Oddly when i run the curator command for another action (rollover) - it runs absolutely fine. I copied pasted from that one to create this snapshot_indices and configured it as below but I keep getting this cryptic error. Any suggestions?:

2018-03-08 21:34:01,817 ERROR Schema error: 0

This is my action file (snapshot_indices.yml)

actions:
  1:
    action: snapshot
    description: >-
      Snapshot logstash- prefixed indices older than 1 day (based on index
      creation_date) with the default snapshot name pattern of
      'curator-%Y%m%d%H%M%S'.  Wait for the snapshot to complete.  Do not skip
      the repository filesystem access check.  Use the other options to create
      the snapshot.
    options:
      repository: my_repository
      # Leaving name blank will result in the default 'curator-%Y%m%d%H%M%S'
      name:
      ignore_unavailable: False
      include_global_state: True
      partial: False
      wait_for_completion: False
      skip_repo_fs_check: False
      timeout_override:
      continue_if_exception: False
      disable_action: False

NVM - Figured it out
Did not add a filter for my indices!

1 Like

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