Skip to main content

Delete Index

Deletes one or more indices.

Deleting an index deletes its documents, shards, and metadata. It does not delete related Kibana components, such as index patterns, visualizations, or dashboards.

You cannot delete the current write index of a data stream. To delete the index, you must roll over the data stream so a new write index is created. You can then use the delete index operation to delete the previous write index.

Parameters

ParameterDescription
IndexComma-separated list of indices to delete. You cannot specify index aliases. To delete all indices, use _all or * .

Workflow Library Example

Delete Index with Elasticsearch and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop