Aggregation + histogram in kibana?


(Lm Yj Q) #1

Can I make a histogram visualization on the result of aggregation in kibana?

I have some records like:
id| act | user_id
1 |play | 12345
2 | create | 12345
3 | play | 12345
4| create|23456
........
I want to have a histogram of the time of each user play.
so I have to do 3- steps
(1) filter: records by act=play
(2)aggregate: count how many "play"s of each user
(3)histogram: make histogram of "count"

Thank you in advance:blush:


(Matt Bargar) #2

If I understand the question correctly, I don't think there's a way to do this currently. I believe you would need a histogram pipeline aggregation.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.