Events & alerts
Users can view all events by either navigating through the timeline or going to the events page by clicking on the icon at the top right corner of Formant web application.
The events appear as small ticks on the timeline. Hovering over the event tick displays details about the event and clicking on it opens a menu on the right side of the page.
Clicking on an event on the events page will take the user back to the specific moment in time within the Channel when the event occurred. Users can then navigate to the next or previous event by clicking on the seek button or the event title at the top of the Channel.
On the events page, search, sort, and filter controls are available to help users find a specific event (or events) more quickly. Users can search by username or event message and filter by event type and other relevant tags.
Each event type has a color associated with it, which will be displayed on each row. For events generated by running a command, the user who ran the command and its parameters are displayed as part of the message type. For an event generated by a comment, the user who created the comment is displayed on the message type.
A filter in the channel restricts the notifications displayed in the channel (reducing the alert count and limiting what is displayed in the notification list).
To add a new event, go to the burger menu, select Settings ⇒ Events ⇒ Add Event.
From Add Event interface, you can define events that are attached to a specific stream.
Step 1: Describe the event
This is a short description used to define an event. This will be the primary way to distinguish the event when it is displayed on the timeline and events page.
Step 2: Choose devices
Choose the set of devices on which this event should apply to. The device list can be filtered using tags. If a device does not have a tag, it can be created by adding tags to devices.
Step 3: Configure trigger
New trigger definitions or modifications to existing definitions can take up to 5 minutes before getting activated.
Choose the telemetry stream to monitor. Events defined through this interface is always associated with a stream. Pick the stream that will be used to generate the event. Currently, the product only allows you to select one stream per Event definition.
The interval decides how often the event will be triggered if it matches the event definition. This is important because the event could be triggered several times and this will help limit the frequency of events. A few notes about the interval:
Event trigger intervals are aligned to the minute/house/day etc. For example, take the following intervals:
|10:00 - 10:59|
|11:00 - 11:59|
An event configured to trigger hourly can be triggered at 9:59 and at 10:00, but not more than once within 09:xx and not more than once within 10:xx.
Updating the event interval may result in a new event being immediately fired (consuming the new interval set).
Events are throttled per device, so if you have N devices running, you can get up to N times the events per stream configured.
The type of trigger to be used depends on the stream data type used.
|Condition Type||Stream Type||Event Description|
|Always (presence)||*||Generate an event when any datapoint arrives on a specified telemetry stream.|
|threshold||numeric||Generate an event when a numeric datapoint exceeds a specified threshold.|
|regex||text||Generate an event when a text datapoint matches a specified regular expression.|
|bit matching||bitset||Generate an event when a bitset key is either true or false or both|
Step 4: Choose actions
You can customize event messages via the “Message Format”. Compose a dynamic message using the following template variables:
Enable notifications if you want to be alerted when this event is triggered. You can also choose the severity of the alert.
One or more commands can be triggered as part of an event. See Commands for more information on how to expose commands.
A configuration template can be triggered when an event occurs. This can be used to trigger ingestion of streams, pause specific streams or change the rate of ingestion of any stream.
You can forward an event to Slack. To do that, first set up the Slack integration by following the docs here. Then turn ON Slack forwarding.
You can forward an event to PagerDuty. To do that, first set up the PagerDuty integration by following the docs here. Then turn ON PagerDuty forwarding.
You can forward an event to Webhooks. To do that, first set up the Webhooks integration by following the docs here. Then turn ON Webhooks forwarding.
You can forward an event as an SMS to one or more phone numbers listed under the users or service users of your organization within Formant. The SMS message will be sent to all followers of the specific device on which the event occurs. To send SMS, first setup followers of the device and then turn ON SMS forwarding from this page.
From burger menu select Settings ⇒ Events ⇒ Click on the delete button next to the event name to delete an event.
From burger menu select Settings ⇒ Events ⇒ Click on.
From the edit menu, change streams or actions attached to the event.
Updated 4 months ago