Closed anomaliyao closed 5 years ago
Hello @anomaliyao !
This not a PullRequest but an issue here !
Kibana 6.5.1 is not supported yet by the official team. If you want fix this bug you have to replace the line 10 of the file kibana-datasweet-formula/public/decorators/lib/apply_hidden.js with the following line :
table.rows = reject(table.rows, (r, i) => includes(hiddenCols, i));
Made code changes. Now, trying to hide the aggregation, it works successfully, if only to hide the aggregation using the plugin datasweet. If hide a custom aggregation (Sum), the formula stops working and nothing is shown.
Weird ! I did the same thing and it's working. Are you sure that you have data in your time range ?
The time interval is the same for all screenshots. Screenshot when metrics are not hidden When I hide the metric
Ok, I found the problem. On the new version of kibana, if the metric is hidden and if there is no bucket, kibana return no data for the metric. So, you have to create a bucket to make this work. In the following screenshot, I use a filter bucket.
This is very similar to the fact that by adding such a hack, the loading time of the metric increases over a long time interval. Maybe can fix it somehow or create issue?
Maybe can fix it somehow or create issue?
I let the team decide :) But the team needs time so you have to work with this tips until the new release
Is it not a kibana bug? Are you from the datasweet formula plugin team?
Is it not a kibana bug?
I don't think, it's a new response format from kibana
Are you from the datasweet formula plugin team?
No, I'm a user like you ;)
Try last release
After updating the kibana on 6.5.1, an error occurred in the plug-in. The error is that when hidden aggregation metrics the formula does not work.
When metrics are not hidden
Help please solve this problem? Now it is very important for our project.