datasweet / kibana-datasweet-formula

This Kibana plugin allows calculated metrics on any standard kibana visualizations.
Apache License 2.0
121 stars 34 forks source link

Datasweet does not count sum aggregation in Kibana #49

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi team, i calculated some fields and then tried to display the sum of total for my fields, but it didnt work. Sum aggregation displays nothing, however f.e max aggregation works and shows the results any help or it`s a bug? My Kibana is 6.7.0

lfroment-datasweet commented 5 years ago

Hi, can you please post your agg settings (screenshot?). We cannot reproduce your problem.

ghost commented 5 years ago

Hi, can you please post your agg settings (screenshot?). We cannot reproduce your problem.

Hi, screenshots are below. so it does not work when aggregations are hidden and my task was to count the difference between my max and min fields and show only this difference in table and hide intermediate fields. Screenshot_2 Screenshot_1

charlotth commented 5 years ago

Hi,

Yeah this is a bug but it will be difficult to resolve it. Indeed, the "total" part of kibana is executed on the final table. So, if a column is hidden, the final table has not the column and the plugin can't calculate the total part... :/