[[prefix]]
== --prefix


[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, `--prefix` is interpreted as part of a regular
expression pattern. This means that if you specify `--prefix l`, it will match
indices or snapshots named, __logstash__, __local__, __l-2015.03.05__, or
anything that begins with the letter __l__. The <<suffix>> flag exhibits similar
behavior, but with the pattern matching the end of the line instead.

[float]
Flags
~~~~~

* `--prefix` Prefix that indices or snapshots must match.



[float]
Example
~~~~~~~

Show indices beginning with the letter __l__ :

--------------------------------
curator show indices --prefix l
--------------------------------
