-
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
[ML] Single Metric Viewer doesn't load chart if non-aggregated summmary count is used #36612
Comments
Pinging @elastic/ml-ui |
Pinging @elastic/ml-core just following up to see if there's anything else you need |
This sounds uncannily similar to the problem that was solved in #31924. It’s not exactly the same problem as this one is in the results section whereas that was in the config section. But maybe there’s a clue in the way Do we have a support diag from this customer? If not it would be good to get one as it will show the mappings and index settings for the affected indices. |
The issue here is caused by the fact that a non numeric field ( When the datafeed for the job doesn't use an aggregation, the ML back-end analytics is able to use the non-numeric field by scrolling through every document and parsing the When a non-numeric field is used in this way, the ML UI should really be hiding the charts in the Anomaly Explorer, and preventing the detector being displayed in the Single Metric Viewer - an issue is currently open for this - #19114. Closing issue as #19114 is already open for hiding the charts when a non-numeric field is used as the |
Kibana version:
v6.7
Based on a customer-discovered situation where it seems that the SMV does not properly load the chart when the following conditions are met:
For example, a snippet of a (somewhat contrived) job config, used on the "gallery" demo weblogs merely to reproduce the situation:
(datafeed is just a
match_all
query)The result when loading the SMV is just an ever spinning Loading widget:
But, if I enable model debug ( "model_plot_config": { "enabled": true }, )
Then it works:
This is because, when the model bounds are ON, then the graph in the Single metric Viewer is built from the model plot information located in .ml-anomalies. However, if it is NOT on, then the UI tries to query the original source index to plot the graph. There must be some problem in that process.
The text was updated successfully, but these errors were encountered: