search_pattern

edit

This setting is only used by the Allocation, Close, Cold2Frozen, Delete Indices, Forcemerge, Index Settings, Open, Replicas, Shrink, and Snapshot actions.

action: delete_indices
description: "Delete selected indices"
options:
  search_pattern: 'index-*'
filters:
- filtertype: ...

The value of this option can be a comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all. If using wildcards it is highly recommended to encapsulate the entire search pattern in single quotes, e.g. search_pattern: 'a*,b*,c*'

The default value is _all.