Is it possible to apply a filter to date histogram buckets ? For example return only buckets that are below a certain value. I was looking to do it with scripts but dont know how to access buckets in script, so if anyone knows anything about that, it would be very very very helpful
At this time you cannot filter the result of an aggregation. This is something that the team is considering but is not in place.
See this issue:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.