elastic/kibana

Kibana Snapshot and Restore UI does not list non-searchable snapshot backing indices for a data stream restore

Open

#179221 opened on Mar 22, 2024

View on GitHub
 (7 comments) (0 reactions) (1 assignee)TypeScript (19,065 stars) (8,021 forks)batch import
Feature:Snapshot and RestoreTeam:Kibana Managementbuggood first issuetriage_needed

Description

Kibana version: 7.17.8 Elastic Cloud

Elasticsearch version: 7.17.8 Elastic Cloud

Describe the bug: When attempting to restore a backing index from a data stream using the Kibana -> Stack Management -> Snapshot and Restore UI. The UI does not find the backing index even though it is listed in the snapshot.

Steps to reproduce:

  1. Create data stream that is saved to snapshots but not part of any searchable snapshots.
  2. Verify that backing indices exist in a snapshot
  3. Try to restore the same backing index using the Kibana UI which will give you the error below:

There is a workaround for this by using the Restore API.

Expected behavior: The UI should allow you to restore an index like this the same way the Restore API does. The code is filtering out any backing indices, if that can be removed it should fix this.

Contributor guide