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. The default retention period for a built-in business events bucket (default_bizevents
) is 35 days. You can also create custom buckets with a specific retention period.
For custom buckets, the possible retention periods are:
- 10 days (10 days)
- 2 weeks (15 days)
- 1 month (35 days) default
- 3 months (95 days)
- 1 year (372 days)
- 15 months (462 days)
- 3 years (1,102 days)
- 5 years (1,832 days)
- 7 years (2,562 days)
- 10 years (3,657 days)
Business events can be stored in different buckets that determine the retention time and access permissions. You can create rules with matcher-specific DQL queries to assign matching business events to a bucket. By default, every incoming business event is stored in the default bucket with a 35-day retention period. Longer and shorter periods can also be set.
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.
- Select the Bucket.
- 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.
Matcher examples
- If you needed to add only one event type (for example,
com.easytrade.buy-assets
), the matcher would be:
matchesValue(event.type, "com.easytrade.buy-assets")
- For two event types within the same event provider, the matcher would be:
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:
matchesValue(event.provider, "www.easytrade.com")