elastic / kibana

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

[ES|QL] dashboard panel with a many fields dataset crashes browser #187089

Closed drewdaemon closed 1 day ago

drewdaemon commented 5 days ago

Kibana version: 8.14

Browser version: Brave Version 1.67.123, Chromium: 126.0.6478.126 (Official Build) (arm64)

Describe the bug: When an ES|QL panel is added to a dashboard with this particular dataset, the browser freezes.

Steps to reproduce:

  1. Start ES with FTR: node scripts/functional_tests_server.js --journey x-pack/performance/journeys_e2e/data_stress_test_lens.ts
  2. Ingest dataset: node scripts/es_archiver.js --es-url http://elastic:changeme@localhost:9220 --kibana-url http://elastic:changeme@localhost:5620 load test/functional/fixtures/es_archiver/stress_test
  3. Create data view: node scripts/kbn_archiver.js --kibana-url http://elastic:changeme@localhost:5620 load test/functional/fixtures/kbn_archiver/stress_test
  4. Open a new dashboard
  5. Add an ES|QL panel
  6. 💥

Expected behavior: The browser tab shouldn't crash.

Screenshots (if relevant):

Screenshot 2024-06-27 at 10 49 48 AM

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

Server is as happy as a clam.

Any additional context:

Interestingly, the same issue doesn't occur in Discover ES|QL mode. Just dashboard panels.

elasticmachine commented 5 days ago

Pinging @elastic/kibana-esql (Team:ESQL)

elasticmachine commented 1 day ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)