stacktach-sandbox/winchester/triggers.yaml
Sandy Walsh 5d5f8ca105 Fix up defaults to use notabene handler and usage
Also backports some tweaks from ops:
- fixes logging.conf
- fixes pipeline_worker first time start

Change-Id: I6ab1e567594097bc23d857c05d0c1fc84262babf
2015-02-10 12:57:28 -08:00

26 lines
641 B
YAML

---
- name: test_trigger
debug_level: 2
distinguished_by:
- instance_id
- timestamp: "day"
expiration: "$last + 2d"
fire_pipeline: "test_fire_pipeline"
expire_pipeline: "test_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