Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Follow along below to configure notifications:

1. Choose a Notifier Component:

Expand
titleSelect a component you want to use to send notifications to your team

You can use any component you wish to receive the triggered log messages and send notifications to your team. For example, you can build a custom component or modify the Email Sender, Slack Notifier Adapter, or /wiki/spaces/CSHC/pages/2843410461 to use as your Notifier component.

Screen Shot 2024-04-26 at 12.30.42 PM.png

2. Create Notification Rules:

Notification rules are created by specifying four criteria:

...

Expand
titleLimit - the number of notifications to be sent by a triggered condition within a 1 hour period

You can set a limit to the number of log triggers generated to control the number of notifications sent within a 1 hour period.

The default is set to 6 notifications per hour, the maximum can be set to 60 notifications per hour.

3. Test your Notification Rules:

Expand
titleWhen a Notification Rule is triggered, a log message is generated and sent to the Notifier Component

When a notification rule is triggered, a log message is generated for the set Notifier Component. The log message is a JSON object containing the notification details such as component guid, the criteria (condition triggered), the threshold set and priority rating.

Code Block
languagejson
[{"component":"Custom_ByvlKqIG5aLpSZ","criteria":"error_count","priority":"low","threshold":"1"}]

...