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

Show links to open in Discover and Logs UI on log stream flyout #144956

Open
smith opened this issue Nov 9, 2022 · 5 comments
Open

Show links to open in Discover and Logs UI on log stream flyout #144956

smith opened this issue Nov 9, 2022 · 5 comments
Labels
enhancement New value added to drive a business result Feature:Logs UI Logs UI feature Team:obs-ux-logs Observability Logs User Experience Team

Comments

@smith
Copy link
Contributor

smith commented Nov 9, 2022

When viewing logs in the Log Stream component, such as for an APM trace, it would be helpful to open the log entry in the Logs UI or Discover, in order to see more context.

In APM I can view the logs related to a service, but when I click on the detail I only have the option to investigate in Uptime? I would like the option to view this doc in the Logs UI and Discover
My only other option is to back up, go to a specific transaction, then click on the investigate button, and from there I can pivot over the the logs UI.

image

#53589 has some additional requests for ways to update action menu for apps around observability. Those won't be applied as part of this issue though could be considered if needed.

#134412 exists to converge the Discover and Logs UIs, and if those UIs were converged to the point that it did't matter if you went to Discover or the Logs UI then some of these options could be removed.

✔️ Acceptance criteria

When viewing a log entry in an embedded context

  • Show "View entry in Discover" and "View entry in Logs UI" menu items with appropriate icons that link to the appropriately filtered view in Discover or Logs UI respectively

View viewing a log entry in the Logs UI

  • Only show the "View entry in Discover" entry
@smith smith added the Feature:Logs UI Logs UI feature label Nov 9, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 9, 2022
@smith smith added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Nov 10, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 10, 2022
@weltenwort
Copy link
Member

💭 Log views in the Logs UI are not necessarily backed by a data view. Can we generate a link to "open in discover" that doesn't require a persisted data view, but works with an index name pattern and a list of columns?

@kertal
Copy link
Member

kertal commented Nov 10, 2022

yes, this is possible using Discover's locator and the dataViewSpec property, which allows to create an adhoc data view in Discover

dataViewSpec?: DataViewSpec;

Here's how Lens is using it

const discoverUrl = discover.locator?.getRedirectUrl(params);

@weltenwort
Copy link
Member

Neat, thanks @kertal!

@gbamparop gbamparop added the enhancement New value added to drive a business result label Oct 27, 2023
@gbamparop gbamparop added Team:obs-ux-logs Observability Logs User Experience Team and removed Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Nov 9, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 9, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Logs UI Logs UI feature Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

No branches or pull requests

5 participants