--index

edit

Summary

edit

This flag only functions within the scope of 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.

Flags

edit
  • --index Include the named index in the list. Can be invoked multiple times.

Examples

edit

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

 

Delete only indices index1 and index2:

curator delete indices --index index1 --index index2