Skip to content

Creating unused @custom component template shows rollover modal listing unrelated data streams #237916

@kapral18

Description

@kapral18

Summary

Creating a brand‑new component template whose name ends with @custom can immediately show the “Apply mappings now and rollover?” modal listing many existing data streams (often Fleet streams), even though the new component isn’t referenced by any index template and may be empty or settings‑only.

Expected

  • No modal unless the component template is actually referenced by an index template and an in‑place mapping apply fails for those data streams.

Actual

  • A modal appears and lists many unrelated, pre‑existing data streams after creating an unused *@custom component template.

Why it happens (suspected)

Impact

  • Confusing user experience on Create and risk of unintended rollovers if “Apply now and rollover” is chosen.

Workarounds

  • Choose “Apply on next rollover” (safe if the component is truly unused), or
  • Create the component template with a name that does not end with @custom.

Proposed fix

  • In the “impacted data streams” route, return an empty list when no index templates reference the component template, and only attempt apply‑mappings for legitimately impacted data streams.

Metadata

Metadata

Assignees

Labels

Feature:Index ManagementIndex and index templates UITeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//bugFixes for quality problems that affect the customer experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions