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:-
actions: 1: 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." filters: - filtertype: pattern kind: prefix value: filebeat- - filtertype: age source: name direction: older timestring: '%Y.%m.%d' unit: days unit_count: 1 options: 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.