如何使用timelion添加两个不同的字段 [英] How to add two different fields using timelion
本文介绍了如何使用timelion添加两个不同的字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
.es(metric ='sum:completed','sum:cancelled)'
.es(metric='sum:completed','sum:cancelled')
我在两个不同的字段中有价值 / code>和
已取消
,现在我试图在上面添加值。什么是正确的方法?
I have value in 2 different fields completed
and cancelled
, now I am trying to add values in above . What is the right way ?
我尝试过上述但是失败了。
I tried above but it fails .
推荐答案
.es(metric='sum:completed').sum(.es(metric='sum:cancelled'))
这篇关于如何使用timelion添加两个不同的字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文