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] [Design] Machine learning analysis screens #41497

Closed
jasonrhodes opened this issue Jul 18, 2019 · 4 comments
Closed

[Logs UI] [Design] Machine learning analysis screens #41497

jasonrhodes opened this issue Jul 18, 2019 · 4 comments
Assignees
Labels
design 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

Comments

@jasonrhodes
Copy link
Member

jasonrhodes commented Jul 18, 2019

For the planned Logs/ML integration to enable ML categorization on logs, we need designs for a number of screens.

AC (Acceptance Criteria, or the design deliverables we need when this ticket is done):

Screen Shot 2019-07-18 at 2 45 39 PM

  • Screen: enable ML analysis, onboarding
    • Possible link to article about ML categorization
    • Optional field for selecting ECS event.dataset filter
    • Field to categorize input may be a dropdown of text-type fields in their log index

Screen Shot 2019-07-18 at 2 47 32 PM

  • Screen: View ML analysis in progress (charts etc)
    • We are opting for the SIEM tab style for now, to be re-considered across all observability at a later time
    • No query/filter bar in this view (not possible to filter ML data)
    • This view should show the existing config somehow (field being analyzed, any ECS dataset filter applied, etc.) --> these cannot be edited but should be shown for context
    • Severity score is 0-100 ML score that represents relative intensity of the anomaly (this log is extremely rare, this category is appearing much more frequently than it usually does, we should confirm this 100%) --> how do we be clear about this?
    • Need to understand whether sorting is possible/useful
    • We can ignore the "Log rate severity" on the top graph of this mockup for now

  • Screen: View current settings/disable/remove ML analysis (probably should live in Settings screen?)
    • Can't edit these, can only remove and re-create, which causes you to lose access to your old categories since we would only query against the new job from that point forward (the data would still be there but the UI would ignore it)
    • I assume we still need to allow users to turn this feature off if they enable it, though
@jasonrhodes jasonrhodes added design 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 Jul 18, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-logs-ui

@hbharding
Copy link
Contributor

@weltenwort
Copy link
Member

After studying the ML result data structures and talking to people more knowledgeable about them, there seems to be a mismatch between the implied features in the Mockup and what is feasible using the output of the ML jobs. In particular, the association between the categories and the time filter is only possible via an anomaly record. This has a few consequences:

Log Categories: What shows up as a category here are occurences of categories in specific time buckets that behave anomalously. This means that a category might show up multiple times.

Log Categories Count column: The count is the anomalous document count within a specific bucket. Any occurences of documents belonging to a category, which doesn't exhibit anomalous behavior in the specific bucket will not be included. Since there is no link between the documents and the categories beyond the few example term queries, we can not query for the overall count of documents belonging to a category.

Log Categories Count sparkline: The sparkline is an expansion of the count over time. The same limitations of the previous point apply.

It appears the prototype that inspired this mockup was based on a custom build of the ML plugin that produced different output data than what is currently produced.

@Zacqary
Copy link
Contributor

Zacqary commented Aug 13, 2019

EUI doesn't seem to have built-in stuff to do the type of padding and layout that's in these mockups. Do we want to do a bunch of custom styling to get all that whitespace, get the "More data" help text next to the "Time range" field, etc.? Or just get as close as we can with standard EUI components?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design 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
Projects
None yet
Development

No branches or pull requests

7 participants