Correlate rule syntax
The following figure shows the Correlate rule syntax.
Correlate rule syntax
correlate <RuleName> : : { description=<Expression> }
<ClassName> ($<Variable>) ## Effect
ECF
with <ClassName> ($<Variable>) ## Cause
ECF
within <TimeFrame>
when <Variable>.<SlotName>: <RelationalOperator> <Value>
{
<Call> ;
<Variable>.<SlotName> = <Value> ;
}
with <ClassName> ($<Variable>) ## Cause
ECF
within <TimeFrame>
when <Variable>.<SlotName>: <RelationalOperator> <Value>
{
<Call> ;
<Variable>.<SlotName> = <Value> ;
}
...
END
Option | Description |
---|---|
| Description of the rule |
| Specifies the attributes for the event Note You can use a With clause to create a correlation within a time frame. |
| Specifies the maximum time difference, in seconds, between the cause and effect events for them to be considered as correlated |
| Are evaluated when either a cause event or an effect event is received and when a slot change has occurred from any of them |
Comments
Log in or register to comment.