
Looks like we were using the default config files in the ansible scripts when we should be using the Usage related ones. Change-Id: Id30152ab7762aff85f3258552de0b5a3e0a6e876
26 lines
625 B
YAML
26 lines
625 B
YAML
---
|
|
- name: test_trigger
|
|
debug_level: 2
|
|
distinguished_by:
|
|
- instance_id
|
|
- timestamp: "day"
|
|
expiration: "$last + 1h"
|
|
fire_pipeline: "usage_pipeline"
|
|
expire_pipeline: "usage_expire_pipeline"
|
|
match_criteria:
|
|
- event_type:
|
|
- compute.instance.*
|
|
- scheduler.run_instance.*
|
|
- snapshot_instance
|
|
- "!compute.instance.exists"
|
|
#### Traits are optional.
|
|
# traits:
|
|
# os_distro: ubuntu
|
|
# memory_mb:
|
|
# numeric: "> 4096"
|
|
- event_type: compute.instance.exists
|
|
map_distingushed_trait:
|
|
timestamp: audit_period_beginning
|
|
fire_criteria:
|
|
- event_type: compute.instance.exists
|