-
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
[Logs UI] Adapt log entry rate data visualisations to new designs #47201
Comments
Pinging @elastic/infra-logs-ui (Team:infra-logs-ui) |
Adding some clarification about the data being used in the charts.. The anomaly results may have a different time span to the source data for the following reasons
The top Log Entries chart could either be plotted from source data or from the ML anomaly results. If source data, then the span of data will be according to the log archive policy being used. Which would look strange if very different from the span of the anomaly results. However it would be the only data source in environments where ML jobs had not yet been set up and would be a useful visual for anyone not (yet) using ML. If ML results then the span of the data will match the anomaly charts below and use the same bucket time summarisation (15m configurable in job config), so the in-page experience is coherent. (However in the case of delayed ingest, where data arrives with too much of a lag to have been analyzed by ML, then the source data would be different. This is documented in ML and the job can be configured to allow for longer ingest lags and warns when data is missing.) From the recent call, I think the plan was to plot from the ml results, so below proposes data sources for each chart with this assumption. // Log entries - top chart
// anomalies chart - Overall
//
We also discussed only plotting scores above 50. With hindsight, I think it would be worth showing all anomalies; critical >=75, major >=50, minor >=25, warning >=3, (low >= 0 optional) -- as this matches with the ML app experience and could still be hidden using the charting component. |
@sophiec20 Thank you for this detailed response 👍
That’s correct - everything here is based on ML results, no raw source data at all. I imagine we’ll look to add that in 7.6 (or later). Firstly, so as you say, it’s useful to everyone and secondly we can show the benefits of ML. Those data source examples are useful, thank you. We made the amendments to our log entry rate results API in #46751 (which provides the data powering these). It looks like our queries closely reflect what you’ve provided (maybe some minor tweaks needed).
Makes sense 👍 |
This adapts the log rate page to the new sets of data visualisations. closes #47201
This adapts the log rate page to the new sets of data visualisations. closes elastic#47201
Summary
The log entry rate visualisation should be adapted to match the new designs.
With the new designs we will have two distinct sections: 1) Log entry rate (Logs entries) 2) Anomalies
Log entry rate section
The log entry rate section will contain a stacked bar chart that visualises the log entry rate. Each bar represents a bucket, and each stacked portion of the bar represents a data set (from
event.dataset
). There will be a legend, to toggle the visibility of datasets.Anomalies section
The anomalies section will contain a leading chart at the top of the section. This leading chart will again contain a bar chart (in grey) that shows the overall log entry rate, however the bars will not be stacked based on dataset here. The annotation overlays will show the areas where there are anomalies. These should only be displayed for major (yellow) and critical (red) anomalies (based on severity score).
Underneath the leading chart there will be a table detailing the top (based on severity score) n (5?) datasets with anomalies. These rows will be collapsed by default, clicking the toggle will open the section and display a chart specific to the dataset. This chart will be a filtered version of the leading chart (overall log entry rate and anomaly annotations but specific to the dataset).
For these charts there are some stats displayed to the right. And also the "Analyze in ML" buttons which should be implemented in #46445.
Pending discussion points
Can be seen in the annotations on this image:
Acceptance criteria
The text was updated successfully, but these errors were encountered: