Date Histogram Bucket Count?

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

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit