Skip to content

Fix Logs tab performance issues#253326

Merged
sbelastic merged 4 commits intoelastic:mainfrom
sbelastic:252094-improve-logs-performance-issues
Feb 19, 2026
Merged

Fix Logs tab performance issues#253326
sbelastic merged 4 commits intoelastic:mainfrom
sbelastic:252094-improve-logs-performance-issues

Conversation

@sbelastic
Copy link
Copy Markdown
Contributor

@sbelastic sbelastic commented Feb 16, 2026

Closes #252094

Summary

  • The Logs Tab will always unmount after changing/selecting another tab in the following pages:
    • Assets Details Page
    • Hosts Details Page

@sbelastic sbelastic self-assigned this Feb 16, 2026
@sbelastic sbelastic added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:obs-presentation Focus: APM UI, Infra UI, Hosts UI, Universal Profiling, Obs Overview and left Navigation labels Feb 16, 2026
@sbelastic sbelastic changed the title Unmount tab when changing to another one Fix Logs tab performance issues Feb 16, 2026
@sbelastic sbelastic marked this pull request as ready for review February 16, 2026 17:33
@sbelastic sbelastic requested a review from a team as a code owner February 16, 2026 17:33
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-presentation-team (Team:obs-presentation)

Copy link
Copy Markdown
Contributor

@rmyz rmyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a fix, we could backport it to 9.2 and 9.3 as well

Comment on lines +64 to +66
{selectedTabId === TabIds.METRICS && <MetricsGrid />}
{selectedTabId === TabIds.LOGS && <LogsTabContent />}
{selectedTabId === TabIds.ALERTS && <AlertsTabContent />}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could only recreate the Logs tab?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, also tackled this in the Assets Details Page

@sbelastic sbelastic added backport:all-open Backport to all branches that could still receive a release and removed backport:skip This PR does not require backporting labels Feb 18, 2026
Copy link
Copy Markdown
Contributor

@crespocarlos crespocarlos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this.

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Feb 18, 2026

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #10 / SearchBar add filter
  • [job] [logs] Jest Tests #4 / form validations settings (step 2) should validate required repository settings
  • [job] [logs] Jest Tests #11 / kuery AST API fromKueryExpression performance with complex expression
  • [job] [logs] Scout: [ observability / infra ] plugin / local-serverless-observability_complete - Infrastructure Inventory - Container Asset Details Flyout - Open as page and return to flyout
  • [job] [logs] Scout: [ observability / infra ] plugin / local-serverless-observability_complete - Infrastructure Inventory - Container Asset Details Flyout - Open as page and return to flyout
  • [job] [logs] Scout: [ observability / infra ] plugin / local-serverless-observability_complete - Infrastructure Inventory - Host Asset Details Flyout - Open as page and return to flyout
  • [job] [logs] Scout: [ observability / infra ] plugin / local-serverless-observability_complete - Infrastructure Inventory - Host Asset Details Flyout - Open as page and return to flyout
  • [job] [logs] Scout: [ observability / infra ] plugin / local-stateful-classic - Infrastructure Inventory - Container Asset Details Flyout - Open as page and return to flyout
  • [job] [logs] Scout: [ observability / infra ] plugin / local-stateful-classic - Infrastructure Inventory - Container Asset Details Flyout - Open as page and return to flyout
  • [job] [logs] Scout: [ observability / infra ] plugin / local-stateful-classic - Infrastructure Inventory - Host Asset Details Flyout - Open as page and return to flyout
  • [job] [logs] Scout: [ observability / infra ] plugin / local-stateful-classic - Infrastructure Inventory - Host Asset Details Flyout - Open as page and return to flyout
  • [job] [logs] Jest Tests #21 / xy style settings Axis settings should pass in endzone visibility setter and current sate for time chart
  • [job] [logs] Jest Tests #21 / xy style settings Axis settings should pass in extent information

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
infra 1.2MB 1.2MB +118.0B

History

cc @sbelastic

@sbelastic sbelastic merged commit c18fcd8 into elastic:main Feb 19, 2026
16 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.2, 9.3

https://github.com/elastic/kibana/actions/runs/22176602841

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 19, 2026
Closes elastic#252094

## Summary
- The **Logs** Tab will **always unmount** after changing/selecting
another tab in the following pages:
    - Assets Details Page
    - Hosts Details Page

(cherry picked from commit c18fcd8)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 19, 2026
Closes elastic#252094

## Summary
- The **Logs** Tab will **always unmount** after changing/selecting
another tab in the following pages:
    - Assets Details Page
    - Hosts Details Page

(cherry picked from commit c18fcd8)
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.19:
- feat(NA): add support for p75 durations on pick test group bin packing from ci-stats (#253862)
- [OpenAI Connector] Add optional defaultModel to Azure OpenAI connector schema (#253575)
- [Inference Endpoints][A11y] Prevent repetitive "search" label (#253224)
9.2
9.3

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 253326

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 19, 2026
# Backport

This will backport the following commits from `main` to `9.2`:
- [Fix Logs tab performance issues
(#253326)](#253326)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Samuel
Brito","email":"samuel.brito@elastic.co"},"sourceCommit":{"committedDate":"2026-02-19T09:44:48Z","message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v9.4.0","Team:obs-presentation"],"title":"Fix
Logs tab performance
issues","number":253326,"url":"https://github.com/elastic/kibana/pull/253326","mergeCommit":{"message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/253326","number":253326,"mergeCommit":{"message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02"}}]}] BACKPORT-->

Co-authored-by: Samuel Brito <samuel.brito@elastic.co>
sbelastic added a commit to sbelastic/kibana that referenced this pull request Feb 19, 2026
Closes elastic#252094
- The **Logs** Tab will **always unmount** after changing/selecting
another tab in the following pages:
    - Assets Details Page
    - Hosts Details Page

(cherry picked from commit c18fcd8)
@sbelastic
Copy link
Copy Markdown
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 19, 2026
# Backport

This will backport the following commits from `main` to `9.3`:
- [Fix Logs tab performance issues
(#253326)](#253326)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Samuel
Brito","email":"samuel.brito@elastic.co"},"sourceCommit":{"committedDate":"2026-02-19T09:44:48Z","message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v9.4.0","Team:obs-presentation"],"title":"Fix
Logs tab performance
issues","number":253326,"url":"https://github.com/elastic/kibana/pull/253326","mergeCommit":{"message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/253326","number":253326,"mergeCommit":{"message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02"}}]}] BACKPORT-->

Co-authored-by: Samuel Brito <samuel.brito@elastic.co>
sbelastic added a commit that referenced this pull request Feb 19, 2026
# Backport

This will backport the following commits from `main` to `8.19`:
- [Fix Logs tab performance issues
(#253326)](#253326)

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Samuel
Brito","email":"samuel.brito@elastic.co"},"sourceCommit":{"committedDate":"2026-02-19T09:44:48Z","message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v9.4.0","Team:obs-presentation","v9.2.6"],"title":"Fix
Logs tab performance
issues","number":253326,"url":"https://github.com/elastic/kibana/pull/253326","mergeCommit":{"message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/253326","number":253326,"mergeCommit":{"message":"Fix
Logs tab performance issues (#253326)\n\nCloses
https://github.com/elastic/kibana/issues/252094\n\n## Summary\n- The
**Logs** Tab will **always unmount** after changing/selecting\nanother
tab in the following pages:\n - Assets Details Page\n - Hosts Details
Page","sha":"c18fcd802a58035087bc1b2a4ec00a8039077d02"}},{"branch":"9.2","label":"v9.2.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/253918","number":253918,"state":"MERGED","mergeCommit":{"sha":"059c9445a894d6c80a7b5d28275336443d1b7225","message":"[9.2]
Fix Logs tab performance issues (#253326) (#253918)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.2`:\n- [Fix Logs tab performance
issues\n(#253326)](https://github.com/elastic/kibana/pull/253326)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Samuel Brito
<samuel.brito@elastic.co>"}},{"url":"https://github.com/elastic/kibana/pull/253919","number":253919,"branch":"9.3","state":"OPEN"}]}]
BACKPORT-->
ersin-erdal pushed a commit to ersin-erdal/kibana that referenced this pull request Feb 19, 2026
Closes elastic#252094

## Summary
- The **Logs** Tab will **always unmount** after changing/selecting
another tab in the following pages:
    - Assets Details Page
    - Hosts Details Page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:obs-presentation Focus: APM UI, Infra UI, Hosts UI, Universal Profiling, Obs Overview and left Navigation v8.19.12 v9.2.6 v9.3.1 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Hosts] Logs tab performance issues

5 participants