hi, do backfills need to be run chronological orde...
# community-support
c
hi, do backfills need to be run chronological order for anomaly detection to make sense? i.e. if i run in chunks of 10 days i.e 2023-01-01 to 2023-01-10, 2023-01-11 to 2023-01-20, ... what happens if this assumption is not true, i.e. 2023-07-01 to 2023-07-10, 2023-09-01 to 2023-09-10, 2023-07-11 to 2023-07-20
m
Hey @Chris Dong, I'm not sure whats the use case here, but you can't set the buckets start and end on your own. The way it works for 10 days buckets is: • If there isn't any detection_delay set, the end of yesterday is the end of the latest bucket. • Elementary calculates end_of_latest_bucket-days_back to decide when to start the first bucket. • If the first bucket isn't full, it will add days to complete it. I'll give an example for today (Dec-15), 10 days buckets and 21 days_back: • Latest bucket end: 2023-12-14 • 2023-12-14 - 21 days back = 2023-11-24 • The buckets will be: ◦ 2023-12-05 to 2023-12-14 ◦ 2023-11-25 to 2023-12-04 ◦ 2023-11-15 to 2023-11-24