elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.48k stars 8.04k forks source link

Cannot read properties of undefined (reading 'map') after upgrading to 8.14.1 #186921

Open gilsongpfe opened 1 week ago

gilsongpfe commented 1 week ago

Kibana version: 8.14.1

Elasticsearch version: 8.14.1

Original install method (e.g. download page, yum, from source, etc.): Present in ESS.

Describe the bug: After upgrading to 8.14.1 from 8.12 user is encountering a "Cannot read properties of undefined (reading 'map')" error while browsing the Security UI, especially the Timeline and Hosts pages.

This is the stracktrace shown on the full error:

Error: Cannot read properties of undefined (reading 'map')
at search_interceptor_SearchInterceptor.handleSearchError (*/bundles/plugin/data/1.0.0/data.plugin.js:1:391549)
at */bundles/plugin/data/1.0.0/data.plugin.js:1:395064
at */bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:377:1524084
at s._error (*/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:6:46123)
at t.error (*/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361:30626)
at */bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:351:64867
at i (*/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361:239716)
at t.error (*/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:351:64734)
at Object.error (*/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361:877612)
at e.error (*/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361:31432)

Please note the trace has been redacted to remove sensitive URLs.

Steps to reproduce:

  1. After updating to 8.14.1 navigate to Security > Explore > Hosts > Events

Expected behavior: Page opens without issues.

Screenshots (if relevant):

Screenshot 2024-06-24
elasticmachine commented 1 week ago

Pinging @elastic/security-solution (Team: SecuritySolution)

sanitybit commented 1 week ago

Not having the sessions view load properly is a pretty big operational impact for efficient response and threat hunting.

Would really like to see this get prioritized.

logeekal commented 6 days ago

As mentioned here, it is a timeline issue and can be assigned to investigations team.

elasticmachine commented 6 days ago

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

elasticmachine commented 6 days ago

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)