...
Configuration field | Description | ||
---|---|---|---|
Group fields Note! Changing how you group data (updating the Group fields) will start new aggregation sessions and the the old sessions will be stored. If you want to revert to the original way of grouping, the system will reuse the old stored sessions, but only if they haven’t timed out yet. See the note on TTL above. | |||
Fields | Specify which fields will be used to group records together for aggregation. If two or more records have the same values in the fields you select, they will be grouped into the same session for processing. You must configure at least one field for the data aggregator to work properly. If left empty, you will receive an error message advising of this.
You can either type the field names manually or select them from the drop-down menu. | ||
Group based on date/time | Select the checkbox to specify a defined period for aggregation. Note! The supported format is ISO 8601 (extended format), following the pattern
For example: If you need to convert a date format to support the ISO standard, see Script. Click + Add period field to add additional period fields | ||
Field | If you select to group the fields by date/ time you will specify each field and then select a time duration for each. | ||
Period | Select a time duration from the dropdown:
| ||
Aggregate fields | |||
Field | Specify the name of the field(s) on which the aggregation operation will be performed: | ||
Operation | Select the aggregation operation from the drop-down menu, this operation will apply to the chosen field. The available operations are grouped into two categories: Numeric, and General. Click + Add Aggregate field to add more fields. Numeric:
General:
| ||
Flush by | |||
Flush by | Select how and when to flush the aggregated data to the next function in the stream. The options are:
|
...
Info |
---|
Example- Timeout type set to ‘month’ For example, if If you set the timeout to happen on the 1st of every month at 23:59 in the "UTC" timezone, the system will flush all aggregated data at that exact time, on the 1st of every month. |
...
Info |
---|
Example - Timeout type set to ‘Based on timestamp field’ If your data has a field containing a timestamp (e.g., |
Adding custom conditions
You can add custom conditions when the flush by is set to timeout by clicking + Add condition.
...