使用kibana计算方差

时间:2016-09-04 20:03:14

标签: elasticsearch kibana kibana-4

想要计算多家餐厅的时间​​序列数据的差异,每天都有客户的数量。

date          name       numCustomers
1-Sep-2016  restaurant1 40
2-Sep-2016  restaurant1 30
3-Sep-2016  restaurant1 35
--------------------------
1-Sep-2016  restaurant2 20
2-Sep-2016  restaurant2 24
--------------------------
1-Sep-2016  restaurant3 50
3-Sep-2016  restaurant3 45

对于每周,您希望找到访问每家餐馆的客户数量的差异。

即。我想先每周把数据搞得一团糟。然后为每个餐馆总结numCustomers并找出计算总和的方差。以上示例需要查找[restaurant1(40 + 30 + 35),restaurant2(20 + 24),restaurant3(50 + 45)]

的差异

this但不确定如何在这里使用它。

0 个答案:

没有答案
相关问题