Can I configure EventSentry to send event log alerts to Microsoft Teams?

Article ID: 504
Category: Configuration
Updated: 2024-03-25

EventSentry can send alerts to Microsoft Teams by using an HTTP action to integrate with an incoming webhook. First, you will need to configure a webhook in the Teams channel that you want to send event log alerts to. You can follow this article from Microsoft to create an incoming webhook.

Once you have the webhook configured, you can use the webhook URL to configure an HTTP action in the EventSentry management console.

First, open the EventSentry console to Actions and create a new HTTP action. Set the type to POST/PUT, and paste your URL into the URL line.

Under "data," set the content type to application/json. Finally, in the content pane you can paste this:

1
2
3
4
5
6
7
8
9
10
{
        "chat_id":"@[CHANNELNAME]",
        "parse_mode":"Markdown",
        "text":"**Computer:** $EVENTCOMPUTER<br />
                **Log:**     $EVENTLOG<br />
                **Source:**  $EVENTSOURCE<br />
                **Category:** $EVENTCATEGORY<br />
                **Event ID:** $EVENTID<br />
                **Content:** $EVENTMESSAGE"
    }

Once you have your action set, you can click the "Test" button and if everything is set correctly you will see a message in Teams.

Now you can add your new HTTP action in an event log filter, just like you would with an email or database action. When an event log is detected that matches your filter, EventSentry will send the event to your Teams channel.



Try EventSentry on-premise

FREE 30-day evaluation

Download Now