Open ruflin opened 1 year ago
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)
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:
I edited the component with the fields suggested (see the one in the right). My questions are:
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.
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
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 https://github.com/elastic/kibana/issues/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:
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.
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.