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] Improve field selection for breakdown for Logs Explorer #166600

Open
ruflin opened this issue Sep 18, 2023 · 5 comments
Open

[Logs] Improve field selection for breakdown for Logs Explorer #166600

ruflin opened this issue Sep 18, 2023 · 5 comments
Labels
Feature:LogsExplorer Logs Explorer feature Team:obs-ux-logs Observability Logs User Experience Team

Comments

@ruflin
Copy link
Contributor

ruflin commented Sep 18, 2023

Currently if a user clicks on "Break down by" the list of all available fields is shown. For logs explorer in combination with ECS / semconv, we can be opinionated about which fields users likely want to break down the graph. As mentioned in #166595, the default should be log.level, but there are potentially other fields users will want to see the breakdown to understand what creates how many log messages. The proposed fields are:

  • service.name
  • host.name

It is expected that this list will get expanded with more fields for example in the k8s use case where it might be per pod / node.

Screenshot 2023-09-18 at 11 43 46

The general idea is, having 5-10 fields suggested on the top. If a user really wants to break down by other fields, it should be possible but not shown by default. @isaclfreire We will need ideas on the UX here. Likely this is a similar problem to the field list on the left bar in the logs explorer.

@ruflin ruflin added Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Sep 18, 2023
@elasticmachine
Copy link
Contributor

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

@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
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot added needs-team Issues missing a team label and removed needs-team Issues missing a team label labels Nov 9, 2023
@gbamparop gbamparop added Feature:LogsExplorer Logs Explorer feature and removed Feature:Logs UI Logs UI feature labels Nov 10, 2023
@isaclfreire isaclfreire self-assigned this Jan 12, 2024
@isaclfreire
Copy link

isaclfreire commented Jan 12, 2024

The Discover team will be introducing a different breakdown menu as part of their Discover design refresh (see the one in the left). The main changes I can see are:

  • The introduction of a search bar
  • Set the number of fields shown to 5
  • The possibility of choosing 'no breakdown'
Screenshot 2024-01-12 at 12 21 23

I edited the component with the fields suggested (see the one in the right). My questions are:

  • Do we want to provide 'no breakdown' as well?
  • Should we notify the user which one is the default field? (log.level)
  • Is it self-explanatory enough that the list is just a selection and users can search any other available field as well?

@ruflin
Copy link
Contributor Author

ruflin commented Jan 15, 2024

  • To keep things aligned, I would add the "no breakdown" section too.
  • Notify user: What you mean by that exactly? You mean the default part? If we indicate it, it kind of implies a user can change it?

It seems the type icons are new. What is the value this info provides in this context? If none, I would leave it out.

@gbamparop
Copy link
Contributor

I think it would make sense to follow the same design and use the component provided, if possible, and just provide our suggested fields to have consistent experience if we don't aim to differentiate much. We could provide our feedback to the current designs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:LogsExplorer Logs Explorer feature Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

No branches or pull requests

4 participants