Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Logs UI] Add callout for legacy log views #208242

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

weltenwort
Copy link
Member

@weltenwort weltenwort commented Jan 24, 2025

⚠️ This PR contains commits from #207753 to enable testing. It needs to be rebase onto main before merging.

📝 Summary

This adds a call-out to the deprecated logs stream component with information on how to migrate. That includes a link to the Kibana deprecations in the upgrade assistant.

🎨 Previews

image

🕵️‍♀️ Review notes

Since the log settings page doesn't exist anymore in main, import the following ndjson file using the saved object UI to create a legacy log view:

{"attributes":{"description":"A default log view","logColumns":[{"timestampColumn":{"id":"5e7f964a-be8a-40d8-88d2-fbcfbdca0e2f"}},{"fieldColumn":{"field":"event.dataset","id":" eb9777a8-fcd3-420e-ba7d-172fff6da7a2"}},{"messageColumn":{"id":"b645d6da-824b-4723-9a2a-e8cece1645c0"}}],"logIndices":{"indexName":"remote_cluster:logs-*","type":"index_name"},"name":"Legacy Log View"},"coreMigrationVersion":"8.17.0","created_at":"2023-01-18T14:18:03.797Z","id":"log-view","references":[],"type":"infrastructure-monitoring-log-view","updated_at":"2023-01-18T14:18:03.797Z","version":"WzQ4NywxXQ=="}
{"excludedObjects":[],"excludedObjectsCount":0,"exportedCount":1,"missingRefCount":0,"missingReferences":[]}

@weltenwort weltenwort added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:obs-ux-logs Observability Logs User Experience Team labels Jan 24, 2025
@weltenwort weltenwort self-assigned this Jan 24, 2025
@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 24, 2025

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #6 / useGetCaseUserActionsStats shows a toast error when the API returns an error

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
logsShared 358 361 +3

Async chunks

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

id before after diff
logsShared 286.4KB 286.4KB +51.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
logsShared 151.0KB 162.9KB +12.0KB

History

cc @weltenwort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants