[[index_flag]]
== --index

[float]
Summary
~~~~~~~

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

Add an index (or indices) by name at the command-line. Indices added with the
`--index` flag _will not_ be filtered by any of the other index selection flags.
The index _must_ exist. This flag can be used in lieu of filtering from the list
of all indices. This flag can be invoked multiple times.

[float]
Flags
~~~~~

* `--index` Include the named index in the list. Can be invoked multiple times.

[float]
Examples
~~~~~~~~

Include `index_name` as one of the indices to be shown in addition to the
provided criteria:

---------------------------------------------------------
curator show indices --prefix logstash --index index_name
---------------------------------------------------------

&nbsp;

Delete only indices `index1` and `index2`:

----------------------------------------------------
curator delete indices --index index1 --index index2
----------------------------------------------------
