Elasticsearch snapshots and storing over S3 bucket

(Tek Chand) #1

Hello Team,

I want to take the snapshots of my elasticsearch indexes and store over S3 bucket. I have 5 index pattern like filebeat-, syslog- etc. So i want to store them over S3 according to current index pattern so i can restore them easily. Is it possible using curator? I want to use below configuration for curator:-

    action: snapshot
    description: "Snapshot filebeat- 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."
    - filtertype: pattern
      kind: prefix
      value: filebeat-
    - filtertype: age
      source: name
      direction: older
      timestring: '%Y.%m.%d'
      unit: days
      unit_count: 1
      disable_action: false
      ignore_unavailable: false
      include_global_state: true
      name: els_snapshot-%Y.%m.%d
      partial: false
      repository: s3_elk_backup
      skip_repo_fs_check: false
wait_for_completion: true

Can we define multiple index in value? And snapshot will use which naming convention?
If i am thinking right all snapshot will use name: els_snapshot-%Y.%m.%d pattren in s3.

Please suggest.


(system) #2

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