Custom events
API reference
The configured parameters of a custom event are in the event’s detail object.
Custom
A custom event configured in your Workspace was triggered.
Unlike system events, custom events are based on templates that you configure with your own parameters, such as a data traffic threshold or a severity level.
All custom events share the same event type Custom (ID 72), no matter which template they’re based on.
To identify which custom event was triggered, use the template_id property of the detail object.
Because custom events are evaluated by the emnify event processing engine, their event source is Semantic (ID 3).
The event severity is the severity you set when adding the rule.
The detail object of a custom event contains the following properties:
The remaining properties depend on the template.
For example, the Daily traffic threshold template adds the configured threshold (threshold_volume) and the volume that was actually consumed (total_volume), both in megabytes (MB).
Custom events are also listed in the emnify Portal alongside system events. See Custom events in the events log.