简体   繁体   English

如何在Kibana中显示2项图

[英]How to display a 2 terms graph in Kibana

In my ElasticSearch DB I have 2 fields: 在我的ElasticSearch数据库中,我有2个字段:

  1. Is a running number (1,2,3, etc) 是一个运行数字(1、2、3等)

  2. Is a diferent number that depends on the first number (100, 50, 8, 4005 etc). 是一个取决于第一个数字的不同数字(100、50、8、4005等)。

Now, I want to create a graph where the first number is on Y axis, and the second number is on the X axis. 现在,我想创建一个图形,其中第一个数字在Y轴上,第二个数字在X轴上。

How can it be done in Kibana? 如何在Kibana中完成?

Thank you. 谢谢。

可以创建一个linechart / vertical bar chart /等,并使用Histogram Aggregation第一场和适当的term aggregation第二字段 (例如平均/和)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM