-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Log Explorer] Log Flyout highlight sections #169504
Comments
@tonyghiani Couple of questions
What does this mean ? Can you explain this a bit more
Do we already have a component which can be reused here. My understanding is, we will need to have this text wrapped in a component which on hover will open a popover which will show the Add/Remove filter icon ? |
Sure, let me clarify these points
Say the user is presented with all the sections Service, Infrastructure, Cloud, Other expanded and displaying data.
Correct, it should behave in a way that allows the user to over a field and get the same actions they would get from the fields table. The design shows how we should render the actions in a popover (the following screenshot is taken from an old version of the highlight design, please focus only on the actions popover): We should look if there is an existing component with this design or if we need to implement it. The |
@tonyghiani Thank you for answering them
|
Mmm how would you do that? Session/Local storage is typically used for storing user preferences, handling this locally would make the state management more complex, while retrieving the preference from a storage source would allow to scope of the state on a per-section basis. All of this is necessary only if my assumption is correct and we want to save these user preferences, otherwise, it won't be necessary. |
Exactly my point. Do we really want to save them as a User Preference ? |
Let's speak the topic with the team the get a wider band of opinions about this. |
It might be more complex then this. If the user looks as a service log, the infrastructure part might be less relevant and the user collapses it. Now the user looks at an infra log and no service part exists and everything is collapsed, that seems surprising. To simplify things, I would not offer any collapsing at all. Lets rather focus on only showing the most important fields that are always relevant and not give a user the choice to collapse (for now). There is an additional bit here which is not part of the design yet but we need to talk about eventually. For cloud or k8s, there are lots of additional fields that the users might be interested in but we should never show by default. Still, user should be able to see these fields in an easy way together with the other k8s fields after doings something in this block. But again, this would not be persisted. |
@ruflin I have 3 questions around the new design
|
General comment: Let's not be picky about the fields at the moment, the most important part is the base framework. If we are not sure about a field, lets kick it out. More specific on the three topics above:
Lets get a first version in and then iterate on the field. Please don't build special code for now into the different fields to make sure we can still easily iterate on it afterwards. |
I agree that if it's not straightforward we can iterate on it later. The APM identifiers which are currently used for logs correlation can be found here. Transaction name doesn't seem to be available but it's a required url param in the APM transaction details page that contains the trace waterfall. Another option would be to link to trace explorer which accepts |
## Summary Closes #169504 ![Highlights](https://github.com/elastic/kibana/assets/7416358/06f21ac5-38e1-4521-843f-064c16ddd034) ## What's pending - [ ] FTR Tests --------- Co-authored-by: kibanamachine <[email protected]>
📓 Summary
🛑 - Pending PR merge #170107
🛑 - Pending PR merge #169501
To provide better insights on a specific log detail, we want to add highlight sections for those considered the most useful fields.
🎨 Design
✔️ Acceptance criteria
service.name
,trace.id
andagent.name
fields.host.name
,orchestrator.cluster.name
andorchestrator.resource.id
fields.cloud.provider
,cloud.region
,cloud.availability_zone
,cloud.project.id
andcloud.instance.id
fields.log.file.path
,data_stream.namespace
anddata_stream.dataset
fields.💡 Implementation hints
All the above-mentioned field values should come with the currently opened document from the customization extension point when #169394 is implemented.
The text was updated successfully, but these errors were encountered: