[[suffix]]
== --suffix


[float]
Incidence
~~~~~~~~~

IMPORTANT: This flag only functions within the scope of <<index-selection,index selection>> or <<snapshot-selection,snapshot selection>>.

[float]
Summary
~~~~~~~

Beginning with Curator v3, `--suffix` is interpreted as part of a regular
expression pattern. This means that if you specify `--suffix -prod`, it will
match indices or snapshots named, __na-prod__, __local-prod__,
__2015.03.05-prod__, or anything that ends with __-prod__. The <<prefix>> flag
exhibits similar behavior, but with the pattern matching the beginning of the
line instead.

[float]
Flags
~~~~~

* `--suffix` Suffix that indices or snapshots must match.

[float]
Example
~~~~~~~

Show indices ending with __-prod__:

------------------------------------
 curator show indices --suffix -prod
------------------------------------
