
Optionally enable STv2 event playback through the time_sync service and early UsageHandler support. Change-Id: I5988d320fe41df29c52ebdb8e579bf0d7f53a45f
25 lines
640 B
YAML
25 lines
640 B
YAML
- name: usage_trigger
|
|
debug_level: 2
|
|
distinguished_by:
|
|
- instance_id
|
|
- timestamp: "day"
|
|
expiration: "$last + 2d"
|
|
fire_pipeline: "usage_fire_pipeline"
|
|
expire_pipeline: "usage_expire_pipeline"
|
|
match_criteria:
|
|
- event_type:
|
|
- compute.instance.*
|
|
- snapshot_instance
|
|
- keypair.import.*
|
|
- rebuild_instance
|
|
- compute.instance.*
|
|
- "!compute.instance.exists"
|
|
- event_type: compute.instance.exists
|
|
map_distingushed_by:
|
|
timestamp: audit_period_beginning
|
|
fire_criteria:
|
|
- event_type: compute.instance.exists
|
|
traits:
|
|
audit_period_ending:
|
|
datetime: $audit_period_beginning + 1d
|