Aggregation Rules

Hi there,

Do we have any option in Druid for configuring aggregation rules.

Say, I should be able to see milliseconds data being ingested for first 2 days. Then, millisecond level raw data must be aggregated to hourly data with min,max,avg values and have 1 record per hour from 3rd day to 7th day (discard/remove the millisecond level data after aggregation). After a span of 7 days, it has to be aggregated to a day level (1 record per day).


You can achieve this by using the indexing API to send an “index” task with the “ingestSegment” firehose periodically.