本文介绍了Elasticsearch-Kibana-分组和计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我基本上有这个数据集:

i basically have this dataset:

用户名:1​​23456内容:Lorem ispum

userid: 123456content: Lorem ispum

用户名:1​​23456内容:Lorem ispum

userid: 123456content: Lorem ispum

用户名:1​​23456内容:Lorem ispum

userid: 123456content: Lorem ispum

用户ID:1234567内容:Lorem ispum

userid: 1234567content: Lorem ispum

用户ID:1234567内容:Lorem ispum

userid: 1234567content: Lorem ispum

用户名:1​​2345678内容:Lorem ispum

userid: 12345678content: Lorem ispum

我想看的东西

多少个用户有一个条目?,两个条目?,三个条目?等

How many users have one entry?, two entries?, three entries? etc.

我已经知道如何查看每个用户的多少个条目",但是我想反过来...

I already know how i can see "How many entries" per user but i want the inverse...

有人可以帮助我解决这个问题吗?谢谢和问候!

Anybody could help me with this issue?Thanks and Greetings!

推荐答案

您可以创建饼图可视化效果,按用户划分图表,然后添加子桶,然后按条目划分(假设该条目是一个可汇总字段).

You can create a pie chart visualisation, split the chart by user and then add a sub-bucket and then split it by the entry (assuming the entry is an aggregatable field).

这篇关于Elasticsearch-Kibana-分组和计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-28 07:44