问题
i basically have this dataset:
userid: 123456 content: Lorem ispum
userid: 123456 content: Lorem ispum
userid: 123456 content: Lorem ispum
userid: 1234567 content: Lorem ispum
userid: 1234567 content: Lorem ispum
userid: 12345678 content: Lorem ispum
What i want to see:
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!
回答1:
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).
来源:https://stackoverflow.com/questions/45586342/elasticsearch-kibana-group-by-and-count