Closed mrdavidlaing closed 10 years ago
Interestingly this only appears to be the case in "old" dashboards. New dashboards (eg, http://kibana.cityindex.logsearch.io/#/dashboard/file/logstash.json) don't have this problem...
Deleting and re-adding this histogram panel fixes the problem on existing dashboards...
Have you tried saving the old dashboards again, sounds like it might fix the issue in fact by updating the underlying storage format changes (a commonly encountered pattern - of course, it might also break things ...)?
Ah, overlapping comments - a more specific solution, but a solution nonetheless :)
Ok, I've pinned down the exact cause.
Old histogram panels store information about selected queries as an array:
"queries":[]
whilst new histogram panels store it as an object
"queries": {
"mode": "all",
"ids": []
}
So, the question is, why aren't old dashboards being automatically updated to the new format...
Using http://kibana-pr4.monitor-cloud.cityindextest5.co.uk I've gone through all the dashboards; updating and re saving.
Let me know if I've missed any.
After upgrade to 3.0.0, histogram query selection doesn't work.
Consider http://kibana.cityindex.logsearch.io/index.html#/dashboard/elasticsearch/IP%20Diagnostics%20-%20LIVE
Edit one of the histograms, and attempt to make it plot a "selected" query. Each time you click on a query, you get the error below in the console: