Loading

Perform operations on indices

Serverless Stack

You can perform a number of index operations from the Index management page in Kibana.

To perform index actions:

  1. Go to the Index management page using the navigation menu or the global search field.
  2. Enable Include hidden indices to view the full set of indices, including backing indices for data streams.
  3. Open the Indices view.
  4. Click the index name, or to perform operations on multiple indices select their checkboxes and open the Manage index menu.

Several index operations are available from the Manage index menu. Note that some of the operations listed are unavailable in Elastic Cloud Serverless since in that environment many data management tasks are handled automatically.

Show index overview Stack Serverless
View an overview of the index, including its storage size, status, and aliases, as well as a sample API request to add new documents.
Show index settings Stack Serverless
View a list of the currently configured index settings. Enable Edit mode to add or change settings.
Show index mapping Stack Serverless
View the index mappings. From this page you can set up new mappings for the field types in your index.
Show index stats Stack
View statistics for your index. Statistics are compiled by primaries, representing values only for primary shards, and by total, representing accumulated values for both primary and replica shards. Refer to the get index statistics API for details.
Close index Stack
Close the index so that read or write operations cannot be performed. Refer to the close index API for details.
Open index Stack
Reopen an index that is currently closed to read and write operations. This option is available only for indices that are currently closed. Refer to the open index API for details.
Force merge index Stack
Perform a force merge operation on the shards of the indices. This reduces the number of segments in each shard by merging some of them together and also frees up the space used by deleted documents. Refer to the force merge API for details.
Refresh index Stack
Refresh the index to make the most recent operations performed on the index available for search. Refer to the refresh index API for details.
Clear index cache Stack
Clear all of the caches for the index. Refer to the clear cache API for details.
Flush index Stack
Flush the index to ensure that all data currently stored only in the transaction log is stored permanently in the Lucene index. Refer to the flush index API for details.
Delete index Stack Serverless
Delete an index including all of its documents, shards, and metadata. Refer to the delete index API for details.
Add lifecycle policy Stack
Add a lifecycle policy to the index to manage how it transitions over time. The policy governs how the index moves through different phases (hot, warm, cold, frozen, and delete) and what actions, such as shrinking and downsampling, are performed on the index during each of these phases. Refer to Index lifecycle management to learn more.
Convert to lookup index Stack Planned Serverless Preview
Convert the index to a lookup mode index that can be used with LOOKUP JOIN commands, so that data from the index can be added to ES|QL query results. This option is available only for single shard indices that have less than two billion documents. Refer to the Elasticsearch index.mode index setting for details.