This applies to any Kibana graph but the one I am interested in is a Histogram.
My data is structured like this:
[
{ "user_id" : 3, "score" : 10 },
{ "user_id" : 1, "score" : 20 },
{ "user_id" : 2, "score" : 60 },
{ "user_id" : 1, "score" : 10 },
{ "user_id" : 2, "score" : 55 }
]
How do I make a Kibana histogram that plots the distribution of the average score
for each distinct user_id
?
The graph that I'm looking for looks like this:
I was able to make this graph using the "Unique Count" aggregation on user_id
, but it is incorrect because it does not average the values.
This question is identical to this one except I am interested in graphing the distribution of average "price" for each "color"