Skip to main content
$histogram groups numeric values into fixed-width interval buckets. Use it for distribution charts when each bucket has the same width.

Compatibility

Field must be FAST.

Arguments

For hardBounds and extendedBounds, both min and max are required.

Output

Bucket entries can include keyAsString and nested sub-aggregation outputs.