Skip to content

Remove links to Logs Explorer#203685

Merged
thomheymann merged 42 commits intoelastic:mainfrom
thomheymann:remove-logs-explorer
Jan 3, 2025
Merged

Remove links to Logs Explorer#203685
thomheymann merged 42 commits intoelastic:mainfrom
thomheymann:remove-logs-explorer

Conversation

@thomheymann
Copy link
Contributor

@thomheymann thomheymann commented Dec 10, 2024

Resolves #182229

Release Note

Remove Logs Explorer

Summary

  • Removes the Discover/Logs Explorer tabs in the top nav
  • Changes all links to Logs Explorer in other applications to Discover
  • Removes all APIs exposed by Logs Explorer

Note: This does not remove Logs Explorer from the codebase. There will be a follow up for that work.

@thomheymann thomheymann changed the title remove logs explorer Dec 13, 2024
Copy link
Contributor

@Bamieh Bamieh left a comment

Choose a reason for hiding this comment

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

telemetry schema changes LGTM

Copy link
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

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

Data Discovery changes LGTM and it works as expected, no more Logs Explorer tab 👍

Comment on lines +505 to +507
* Contrary to its name, this property sets the index pattern of the data view. (e.g. `logs-*,metrics-*`)
*
* Use the `name` property instead to set a human readable name for the data view.
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh legacy code... At one point this was both the pattern and display name, but that hasn't been the case in a long time. Makes sense to call it out explicitly.

css={{ boxShadow: 'none', backgroundColor: euiThemeVars.euiPageBackgroundColor }}
data-test-subj="discoverTopNavInline"
>
{customizationContext.inlineTopNav.showLogsExplorerTabs && (
Copy link
Contributor

Choose a reason for hiding this comment

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

This prop can likely be removed now that O11y no longer needs it, but we can handle that as a followup.

@Kerry350 Kerry350 self-requested a review January 3, 2025 10:00
Copy link
Contributor

@Kerry350 Kerry350 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 pushing this through 🙌

@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 3, 2025

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: 63ad8d8
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-203685-63ad8d8cdbe8

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1910 1909 -1
dataQuality 67 66 -1
datasetQuality 273 267 -6
dataUsage 120 119 -1
discover 928 925 -3
infra 1282 1281 -1
inventory 238 237 -1
logsExplorer 571 567 -4
logsShared 379 377 -2
observability 1091 1090 -1
observabilityAIAssistantApp 418 417 -1
observabilityLogsExplorer 192 24 -168
observabilityOnboarding 236 232 -4
observabilityShared 239 238 -1
profiling 291 290 -1
unifiedDocViewer 217 216 -1
uptime 571 570 -1
ux 186 185 -1
total -199

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/deeplinks-observability 58 42 -16
discover 167 163 -4
logsExplorer 120 119 -1
logsShared 287 286 -1
observabilityLogsExplorer 19 3 -16
total -38

Async chunks

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

id before after diff
apm 5.6MB 5.6MB +24.0B
datasetQuality 252.5KB 250.5KB -2.0KB
discover 782.3KB 778.0KB -4.3KB
fleet 1.7MB 1.7MB +68.0B
infra 1.3MB 1.3MB +228.0B
logsExplorer 223.1KB 223.2KB +19.0B
logsShared 291.1KB 281.2KB -9.9KB
observability 478.7KB 478.6KB -152.0B
observabilityLogsExplorer 142.1KB 906.0B -141.2KB
observabilityOnboarding 269.9KB 269.8KB -96.0B
total -157.3KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
logsExplorer 23 22 -1
logsShared 34 36 +2
observabilityLogsExplorer 1 0 -1
total -0

Page load bundle

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

id before after diff
datasetQuality 18.9KB 18.8KB -49.0B
discover 45.2KB 44.9KB -263.0B
fleet 171.2KB 171.2KB -20.0B
infra 51.0KB 50.6KB -438.0B
logsExplorer 27.6KB 26.6KB -995.0B
logsShared 174.8KB 173.6KB -1.1KB
observability 102.2KB 102.1KB -168.0B
observabilityLogsExplorer 15.0KB 8.5KB -6.5KB
observabilityOnboarding 10.4KB 10.2KB -201.0B
serverlessObservability 29.0KB 28.9KB -132.0B
total -9.8KB
Unknown metric groups

API count

id before after diff
@kbn/deeplinks-observability 70 43 -27
discover 215 210 -5
logsExplorer 120 119 -1
logsShared 316 315 -1
observabilityLogsExplorer 19 3 -16
total -50

async chunk count

id before after diff
discover 28 27 -1
observabilityLogsExplorer 6 1 -5
total -6

ESLint disabled line counts

id before after diff
@kbn/deeplinks-observability 11 6 -5
discover 18 17 -1
logsExplorer 4 5 +1
observabilityLogsExplorer 2 3 +1
total -4

miscellaneous assets size

id before after diff
observabilityLogsExplorer 387.0KB 0.0B -387.0KB

Total ESLint disabled count

id before after diff
@kbn/deeplinks-observability 11 6 -5
discover 20 19 -1
logsExplorer 6 7 +1
observabilityLogsExplorer 2 3 +1
total -4

History

@thomheymann thomheymann added the backport:skip This PR does not require backporting label Jan 3, 2025
@thomheymann thomheymann merged commit 8902f70 into elastic:main Jan 3, 2025
2 checks passed
viduni94 pushed a commit to viduni94/kibana that referenced this pull request Jan 23, 2025
Resolves elastic#182229

## Release Note

Remove Logs Explorer

## Summary

- Removes the Discover/Logs Explorer tabs in the top nav
- Changes all links to Logs Explorer in other applications to Discover
- Removes all APIs exposed by Logs Explorer

Note: This does not remove Logs Explorer from the codebase. There will
be a follow up for that work.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
davismcphee added a commit that referenced this pull request Jan 27, 2025
## Summary

This is followup work to #203685 that removes `DiscoverTopNavInline` now
that Logs Explorer is gone, since the component is no longer used. I
also noticed that top nav style overrides we use weren't applied to the
inline top nav, so this fixes that as well.

### Checklist

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
gbamparop added a commit that referenced this pull request Feb 6, 2025
…209120)

## 📓 Summary
Removes the `observability:logsExplorer:allowedDataViews` advanced
setting that was introduced by
#178602 as Logs Explorer is [no
longer available](#203685) in
Serverless and 9.0.

Closes #209092

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Feb 6, 2025
…lastic#209120)

## 📓 Summary
Removes the `observability:logsExplorer:allowedDataViews` advanced
setting that was introduced by
elastic#178602 as Logs Explorer is [no
longer available](elastic#203685) in
Serverless and 9.0.

Closes elastic#209092

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 3e5f55d)
kibanamachine added a commit that referenced this pull request Feb 6, 2025
…ting (#209120) (#210005)

# Backport

This will backport the following commits from `main` to `9.0`:
- [Remove observability:logsExplorer:allowedDataViews advanced setting
(#209120)](#209120)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Giorgos
Bamparopoulos","email":"georgios.bamparopoulos@elastic.co"},"sourceCommit":{"committedDate":"2025-02-06T13:28:00Z","message":"Remove
observability:logsExplorer:allowedDataViews advanced setting
(#209120)\n\n## 📓 Summary\r\nRemoves the
`observability:logsExplorer:allowedDataViews` advanced\r\nsetting that
was introduced by\r\nhttps://github.com//pull/178602 as
Logs Explorer is [no\r\nlonger
available](#203685)
in\r\nServerless and 9.0.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/209092\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3e5f55dd0258646d976d776127e39bdb04859568","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v9.1.0"],"title":"Remove
observability:logsExplorer:allowedDataViews advanced
setting","number":209120,"url":"https://github.com/elastic/kibana/pull/209120","mergeCommit":{"message":"Remove
observability:logsExplorer:allowedDataViews advanced setting
(#209120)\n\n## 📓 Summary\r\nRemoves the
`observability:logsExplorer:allowedDataViews` advanced\r\nsetting that
was introduced by\r\nhttps://github.com//pull/178602 as
Logs Explorer is [no\r\nlonger
available](#203685)
in\r\nServerless and 9.0.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/209092\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3e5f55dd0258646d976d776127e39bdb04859568"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209120","number":209120,"mergeCommit":{"message":"Remove
observability:logsExplorer:allowedDataViews advanced setting
(#209120)\n\n## 📓 Summary\r\nRemoves the
`observability:logsExplorer:allowedDataViews` advanced\r\nsetting that
was introduced by\r\nhttps://github.com//pull/178602 as
Logs Explorer is [no\r\nlonger
available](#203685)
in\r\nServerless and 9.0.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/209092\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3e5f55dd0258646d976d776127e39bdb04859568"}}]}]
BACKPORT-->

Co-authored-by: Giorgos Bamparopoulos <georgios.bamparopoulos@elastic.co>
drewdaemon pushed a commit to drewdaemon/kibana that referenced this pull request Feb 6, 2025
…lastic#209120)

## 📓 Summary
Removes the `observability:logsExplorer:allowedDataViews` advanced
setting that was introduced by
elastic#178602 as Logs Explorer is [no
longer available](elastic#203685) in
Serverless and 9.0.

Closes elastic#209092

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting ci:project-deploy-observability Create an Observability project release_note:deprecation Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. v9.0.0