Emit
Events can be optionally published to down stream systems using SQL like semantics
Event output can be refined by using the emit section to limit fields and events to downstream systems, if this is not present events will be published without any filtering.
Example
DSL Elements
eventType
Any events that are published can be retyped by proving a new name.
Default {existing eventType}-View
select
A SQL project can be defined using a declared comma-separated list of event fields. Metrics and simple math functions are also supported.
Using the below event example event structure we can define SQL like expression
Examples expressions
Using metrics expressions
If you are using metrics in the platform these too can be added to the event output. Refer to the metrics engine documentation on how to set up metrics for your use case.
Example expressions
having
This is a Javascript expression filter that evaluates the expression against the resulting select project. If the expression passes the resulting event is presented to publishing sinks.
Optional
Last updated