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 Overview] Experiment to improve visual category representation #197277

Open
weltenwort opened this issue Oct 22, 2024 · 2 comments
Open

[Logs Overview] Experiment to improve visual category representation #197277

weltenwort opened this issue Oct 22, 2024 · 2 comments
Labels
Team:obs-ux-logs Observability Logs User Experience Team

Comments

@weltenwort
Copy link
Member

weltenwort commented Oct 22, 2024

📓 Summary

Currently each category is represented using its tokens concatenated with a * in the pattern column of the log categories data grid. Depending on the underlying log entries, it might be hard to understand how that sequence of tokens relates to the log messages, so we should try to improve the rendering.

✔️ Acceptance criteria

  • Experiments are done to render the pattern and one or more example messages such that the categories can be made more sense of.
    • This could include highlighting the tokens in an example message or
    • This could include showing both at the same time.

🎨 Inspirations

Image

@weltenwort weltenwort added the Team:obs-ux-logs Observability Logs User Experience Team label Oct 22, 2024
@elasticmachine
Copy link
Contributor

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

@weltenwort weltenwort changed the title [Logs Overview] Experment to improve visual category representation [Logs Overview] Experiment to improve visual category representation Oct 24, 2024
@weltenwort
Copy link
Member Author

Some ideas that came to mind:

  • fetch a few examples with top_hits and hide the wildcards in the pattern when the terms are consecutive in all the examples
  • fetch a few examples with top_hits and show more datatype-specific placeholders like ${number} if that can be deduced from the examples
  • highlight terms, punctuation and variable terms differently

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

No branches or pull requests

2 participants