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 UI] Add the log categories result screen #42776

Closed
Kerry350 opened this issue Aug 6, 2019 · 4 comments · Fixed by #53004
Closed

[Logs UI] Add the log categories result screen #42776

Kerry350 opened this issue Aug 6, 2019 · 4 comments · Fixed by #53004
Assignees
Labels
Feature:Logs UI Logs UI feature review Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.6.0

Comments

@Kerry350
Copy link
Contributor

Kerry350 commented Aug 6, 2019

Note: This issue previously talked about a rare categories section of a log analysis tab. This section has since been split into a separate tab.

Summary

The new categories tab displays the top N categories by count in a given time interval. The interaction (blue button appears on hover) is the same as described for View in context #50304

Acceptance criteria

  • The "Categories" tab is shown when the user has the "create ML job" capabilities (same as the log rate tab).
  • The tab shows the categorization analysis results in a table, which...
    • is paginated.
    • has a default page size of 25.
    • has the columns "Message count", "Category", "Dataset" and "Max. anomaly score".
    • a sparkline indicates the trend (compared to the previous timeframe) of the "Message count" column.
    • is sorted by message count.
  • The dropdown above the table...
    • filters the table rows for those with matching datasets.
    • does not apply any filters when empty.
    • can be easily cleared.
  • Failure scenarios:
    • job not set up → handled higher up in the hierarchy by showing the setup screen
    • job configuration outdated → show a callout with a button to enter the setup procedure again
    • job definition outdated → show a callout with a button to enter the setup procedure again
    • no data → show placeholders

Mockups

logs-cat

Figma link: https://www.figma.com/file/T08kdh6YQcVCx1tzljqNHF/Logs-ML-Integration

@Kerry350 Kerry350 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 v7.4.0 labels Aug 6, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-logs-ui

@weltenwort weltenwort changed the title [Logs UI] Implement the Log Categories portion of the results screen [Logs UI] Implement the log categories result screen Nov 12, 2019
@weltenwort weltenwort changed the title [Logs UI] Implement the log categories result screen [Logs UI] Add the log categories result screen Nov 12, 2019
@katrin-freihofner
Copy link
Contributor

@Kerry350 @weltenwort what do you think about dropping the sparkline if we have too little information (timeframe < 45 min)?

@weltenwort
Copy link
Member

Yes, that sounds reasonable. Do we keep the "+N %" in that case?

@weltenwort
Copy link
Member

Talking about the sparklines: Does each row's sparkline have its own y-axis maximum or do they share the same value in order to be comparable?

@weltenwort weltenwort self-assigned this Dec 13, 2019
weltenwort added a commit that referenced this issue Jan 13, 2020
This renders the log entry categories after the ML jobs have been set up previously.

closes #42776
closes #42065
weltenwort added a commit to weltenwort/kibana that referenced this issue Jan 13, 2020
This renders the log entry categories after the ML jobs have been set up previously.

closes elastic#42776
closes elastic#42065
jkelastic pushed a commit to jkelastic/kibana that referenced this issue Jan 17, 2020
This renders the log entry categories after the ML jobs have been set up previously.

closes elastic#42776
closes elastic#42065
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature review Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.6.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants