def register_aggregations():
return [dict(<EOL>aggregation_name='<STR_LIT>',<EOL>templates='<STR_LIT>',<EOL>aggregator_class=StatAggregator,<EOL>aggregator_config=dict(<EOL>client=current_search_client,<EOL>event='<STR_LIT>',<EOL>aggregation_field='<STR_LIT>',<EOL>aggregation_interval='<STR_LIT>',<EOL>copy_fields=dict(<EOL>file_key='<STR_LIT>',<EOL>bucket_id='<STR_LIT>',<EOL>file_id='<STR_LIT>',<EOL>),<EOL>metric_aggregation_fields={<EOL>'<STR_LIT>': ('<STR_LIT>', '<STR_LIT>',<EOL>{'<STR_LIT>': <NUM_LIT:1000>}),<EOL>'<STR_LIT>': ('<STR_LIT>', '<STR_LIT:size>', {}),<EOL>},<EOL>)), dict(<EOL>aggregation_name='<STR_LIT>',<EOL>templates='<STR_LIT>',<EOL>aggregator_class=StatAggregator,<EOL>aggregator_config=dict(<EOL>client=current_search_client,<EOL>event='<STR_LIT>',<EOL>aggregation_field='<STR_LIT>',<EOL>aggregation_interval='<STR_LIT>',<EOL>copy_fields=dict(<EOL>record_id='<STR_LIT>',<EOL>pid_type='<STR_LIT>',<EOL>pid_value='<STR_LIT>',<EOL>),<EOL>metric_aggregation_fields={<EOL>'<STR_LIT>': ('<STR_LIT>', '<STR_LIT>',<EOL>{'<STR_LIT>': <NUM_LIT:1000>}),<EOL>},<EOL>))]<EOL>
Register sample aggregations.