-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[ML] Support plot of metric data when datafeed uses scripted field #18464
Comments
Original comment by @peteharverson: One possible solution for plotting the metric values in the Anomaly Explorer charts when the datafeed uses a derivative aggregation on a scripted field would be to allow the user to configure extra So for example, for a detector which was using sum of a scripted field reciprocal function cc @stevedodson |
Note that if the detector does a non-derivative aggregation on a script field defined in the datafeed configuration charts are not displayed in the Anomaly Explorer and the detector cannot be viewed in the Single Metric Viewer - see #19205. Enhancements to support the plot of metric data should ideally cover both the non-derivative and derivative aggregation use cases. |
Any progress here? Have a customer that would like to visualize some jobs with splits/influencers from |
@kcm I'm afraid we haven't been able to look into this issue yet. Will look to see what we can do in the short-term to improve our support of datafeeds using scripted fields in the UI. Is your customer's datafeed configuration a similar setup to the one I posted in the description above? |
It's a non-derivative feed, using a simple scripted composite field of two text fields - he wants to track filesystem metrics per disk, so he is joining the metricbeat data of |
a +1 from this discuss forum entry: https://discuss.elastic.co/t/x-pack-single-metric-job/166669/13 |
Original comment by @peteharverson:
The Anomaly Explorer and Single Metric Viewer charts (if model_plot_config is disabled) do not currently support plotting metric data when the datafeed uses a derivative aggregation on a scripted field.
With no metric data available for plotting, the anomalies are plotted at a y-axis value of 0.
Note should also confirm whether charts are plotted correctly for non-derivative aggregations on a scripted field.
Extract of a sample job configuration using a derivative aggregation on a scripted field:
The text was updated successfully, but these errors were encountered: