Bucket groups are custom groups that can be used when you define a breakdown source that uses Bucket [
pa_buckets] as the facts table.
Bucket groups are used with a script. When configuring a breakdown, select a script as the
breakdown mapping. Define the script to runs through the collected data and places the records
into a bucket group. For example, consider a bucket group that sorts by age, such as <1 day,
2-5 days, 6-30 days, >30 days old. Use this bucket group as a breakdown source. You then write a
script that assigns an age to records in the incident table. Now you can create a breakdown that
is based on this breakdown source and uses this script to map records in the incident table to
the bucket group in the breakdown source.