【发布时间】:2017-06-16 17:28:38
【问题描述】:
在一个索引中我有两个映射。
"mappings" : {
"deliveries" : {
"properties" : {
"@timestamp": { "type" : "date", "format": "yyyy-MM-dd" },
"receiptName" : { "type" : "text" },
"amountDelivered" : { "type" : "integer" },
"amountSold" : { "type" : "integer" },
"sellingPrice" : { "type" : "float" },
"earned" : { "type" : "float" }
}
},
"expenses" : {
"properties" : {
"@timestamp": { "type" : "date", "format": "yyyy-MM-dd" },
"description": { "type" : "text" },
"amount": { "type": "float" }
}
}
}
现在我想在 Kibana 中创建一个简单的饼图,用于汇总 deliveries.earned 和 expenses.amount。
这是可能的还是我必须切换到客户端应用程序?文档的数量(每月 2 或 3 个)真的要少到这里开始一些开发 xD
【问题讨论】:
标签: elasticsearch kibana pie-chart