Skip to content

Timeline disappears silently when selecting a Data View with no local indices (CPS environment) #258599

@vgomez-el

Description

@vgomez-el

Describe the bug:
When CPS is enabled and the origin project contains alerts but no local event indices (all event data lives in a linked project), opening a timeline and switching the Data View to one that points to indices that don't exist locally (e.g. "logs") causes the entire timeline component to silently disappear from the UI. There are no errors in the browser console or network tab. The timeline reappears after navigating away and back via the nav.

This scenario is a valid and expected customer setup under the Central SOC model: the origin project holds rules and alerts, while all event data lives in linked projects.

Kibana/Elasticsearch Stack version:
9.4.0 (serverless QA — commit e243b69)

Server OS version:
Serverless QA (AWS eu-west-1)

Browser and Browser OS versions:

Elastic Endpoint version:
N/A

Original install method (e.g. download page, yum, from source, etc.):
Serverless QA environment (keepcpsoriginsecurity-f58ef0)

Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Timelines

Steps to reproduce:

  1. Enable CPS on a serverless origin project that has alerts but no local event indices (all event data is in a linked project).
  2. Open Security → Timelines and create or open a timeline.
  3. In the timeline, change the Data View to one that points to indices that don't exist locally (e.g. "logs" data view).
  4. Observe the timeline component.

Current behavior:
The entire timeline component disappears from the UI with no error message, no console error, and no network error. The UI is completely silent. The timeline reappears only after navigating away via the nav and coming back.

Expected behavior:
The timeline should remain visible and display a meaningful error or empty state message explaining that the selected Data View has no matching indices in the current project scope.

Screenshots (if relevant):

Screen.Recording.2026-03-19.at.16.21.28.mov

Errors in browser console (if relevant):
None observed — the failure is completely silent.

Provide logs and/or server output (if relevant):
N/A

Any additional context (logs, chat logs, magical formulas, etc.):
Discovered during CPS Tech Preview testing party on 2026-03-19. The root cause appears to be that under CPS, the origin project can have alerts generated from events that live in a linked project, meaning the origin project legitimately has no local event indices. The timeline component does not handle this edge case gracefully. The issue does not reproduce on ECH (non-serverless) or on the linked project itself. Reproducibility was inconsistent — it did not blow up on every attempt, suggesting it may depend on the specific alert or data view selected.

Metadata

Metadata

Labels

Feature:CPSTeam: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Threat HuntingSecurity Solution Threat Hunting TeamTeam:Threat Hunting:InvestigationsSecurity Solution Threat Hunting Investigations TeambugFixes for quality problems that affect the customer experiencefixed

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions