Configuring guardrails
Configure guardrails by specifying a policy in the NOI Policy Service.
Procedure
- Connect to the NOI Policy Service.
- In the Request body section, specify the policy to define the guardrail.
- Click Execute.
Example
- In line 25 the policy looks for incoming alerts where the
event.resource.location
field is set. - In lines 28 to 31, the value of
event.resource.location
is appended to the value of the correlation key, thereby partitioning the event group based on location.
Note: The same policy code can be used to partition scope-based groups and temporal groups.
Policy code | |
---|---|
|
|