Create a histogram of filtered data

I created an X-Axis Aggregation of Range with my Field having values from 0 to 1, which gives me a count of the number of documents that fits that range.

Now, I want to make a histogram of that...I tried to do a sub-aggregation, but it didn't work

Any ideas?

Can you plz try a histogram with your data first of the filtered data and then add a bucket for sub aggregation. Which version of Kibana are you using ?

Thanks
Rashmi

Yes, I've done that. However, it's the sub bucket that doesn't change anything. It just keeps it as the one block and I believe its because the filter still exists, so it keeps my range. I can add a snapshot tomorrow when I'm logged on my system.

All set, I was sub aggregating the wrong way. Thanks for suggestion!

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