Use the aggregation key processor to generate a custom aggregation key (@aggregation_key) based on event attributes or tags. For example, you can use the aggregation key processor to create a custom aggregation key based on an event’s title and source tag. Events with matching values share the same key, enabling more effective deduplication and improving the quality of Event Correlations.

Notes:

  • Attributes must start with the @ symbol and follow the path of the standard attribute as it appears in your JSON. For example, @evt.integration_id.
  • Tag keys must follow a valid tag key format outlined in Getting Started with Tags.
  • A maximum of 5 attributes or tag keys can be added to generate an aggregation key.
  • By default, existing aggregation keys are overwritten by this processor. Adjust the toggle to configure this behavior.
Aggregation keys are included by default in Datadog Monitor alerts and are not modified by the aggregation key processor. This ensures that monitor alert events retain their original keys and are not overwritten.

The aggregation key processor performs the following actions:

  • Checks if any of the selected tag keys or attributes have values, if so, an aggregation key can be generated.
  • If not, an aggregation key is not set on the processed event.
  • If there are multiple values in the tag key, all values are sorted alphabetically and concatenated to generate the aggregation key.
  • Based on these values, it generates a hash and adds the generated aggregation key to the event.
PREVIEWING: guacbot/translation-pipeline