monasca-events-api/demo/files/transform_definition.yaml
2015-07-31 11:04:55 -06:00

19 lines
427 B
YAML

---
- event_type: compute.instance.*
traits: &instance_traits
tenant_id:
fields: payload.tenant_id
service:
fields: publisher_id
plugin: split
- event_type: compute.instance.exists
traits:
<<: *instance_traits
audit_period_beginning:
type: datetime
fields: payload.audit_period_beginning
audit_period_ending:
type: datetime
fields: payload.audit_period_ending