opensearch-docs-cn/_dashboards/im-dashboards/rollover.md

1.9 KiB

layout title parent nav_order redirect_from
default Rollover Index management in Dashboards 40
/dashboards/admin-ui-index/rollover/

Rollover

Introduced 2.6 {: .label .label-purple }

OpenSearch Dashboards allows you to perform an index rollover operation with Index Management.

Data streams

To perform a rollover operation on a data stream, perform the following steps:

  1. Under Index Management, choose Data streams.

  2. Choose Actions, and then choose Roll over, as shown in the following image.

    Roll over

  3. Under Configure source, select the source data stream on which you want to perform the rollover operation.

  4. Choose Roll over, as shown in the following image.

    Roll over

Aliases

To perform a rollover operation on an alias, perform the following steps:

  1. Under Index Management, choose Aliases.

  2. Choose Actions, and then choose Roll over, as shown in the following image.

    Roll over

  3. Under Configure source, select the source alias on which you want to perform the rollover operation.

  4. If the alias does not contain a write index, you are prompted to assign a write index, as shown in the following image.

    Roll over

  5. Under Configure a new rollover index and on the Define index pane, specify an index name and an optional index alias.

  6. Under Index settings, specify the number of primary shards, the number of replicas, and the refresh interval, as shown in the following image.

    Roll over

  7. Choose Roll over.