Business event bucket assignment
Business events can be stored in buckets that have three different retention periods. You create rules with matcher-specific DQL queries to assign matching business events to a bucket. Retention period options are 3 years, 1 year, or 35 days.
Choose the retention period
- In the Dynatrace menu, go to Settings > Business Analytics > Ingest Pipeline > Bucket assignment.
- In the Business event bucket assignment, select Add rule and name your rule.
- In the Bucket field, choose your retention period (3 years, 1 year, or 35 days).
- Add a Matcher to your rule by typing or pasting your matcher-specific DQL query. Events that match your rule will be assigned to your selected bucket. If no rules match, events will be assigned to the default bucket.
- Select Save changes.
If you need to store your data for three years, for example, for tax purposes:
In the Dynatrace menu, go to Settings > Business Analytics > Ingest Pipeline > Bucket assignment.
Select Add rule.
Set Rule name to
Set Bucket to
Business events (3 years).
Set your rule's Matcher to the following matcher-specific DQL query:
If you needed to add only one event type (for example,
com.easytrade.buy-assets), the matcher would be:dql
For two event types within the same event provider, the matcher would be:dql
matchesValue(event.type, "com.easytrade.buy-assets") or matchesValue(event.type, "com.easytrade.sell-assets")
In this use case, however, you need to take all event types under the EasyTrade event provider, so it is sufficient just to use:dql