Hello all, i'm trying to do a pie chart in Kibana dashboard based on some data i have. I don't understand if i am missing something or is Kibana that just works differently.
Let's say i have the following data (n docs)
{
date: '2020-12-01',
pc: 23,
smarphones: 50,
tables: 3
},
{
date: '2020-12-02',
pc: 22,
smarphones: 51,
tables: 4
},
{
date: '2020-12-03',
pc: 21,
smarphones: 48,
tables: 5
}
...and so on...
I would like, given a time interval, to draw a pie chart based on sums of every field. So for example given period 2020-12-01 2020-12-03 i have pc=66, smartphones=149, tablets=12 so the pie chart would have 3 slices (pc=29%, smartphones=65%, tablets=6%)
I'm trying to do it but with no results. Is there something that i miss? thanks