FortiAnalyzer
FortiAnalyzer can receive logs and Windows host events directly from endpoints connected to EMS, and you can use FortiAnalyzer to analyze the logs and run reports.
smkml
Staff
Staff
Article Id 408077
Description

 

This article describes how to send an alert message from FortiAnalyzer to a Webhook site.

 

using a generic connector.png

 

Scope

 

FortiAnalyzer.

 

Solution

 

When accessing to webhook site, it will generate a unique URL as in general.

 

webhook unique URL.png

 

  1. Use the unique URL to put in under the Generic Connector URL value:
  • In v7.4.x, go to Fabric View -> Fabric Connectors  -> Create New -> Generic Connector.
  • In v7.6.x, go to Incidents & Events -> Automation -> Active Connectors -> Create New -> Generic Connector.

 

unique URL under generic connector.png

Other than the URL value, it is only mandatory to put in below value:

 

Protocol HTTPS
Port 443
Method POST

 

Authentication is not necessary for this setup and can be ignored, for HTTP bodies are optional to get a meaningful message display for the alert.

The text output for ${} sign can be replaced using other Configuring ITSM connectors in (Supported macros for the MS Teams Connector).

 

  1. Add the created webhook to the Notification Profile.
  • In v7.4.x, go to Incidents & Events -> Handlers -> Notification Profiles -> Create New.
  • In v7.6.x, go to Incidents & Events -> Event Handlers -> Notification Profiles -> Create New.

 

notification profile.png

 

  1. Create an event and add the notifications profile to it.
  • In v7.4.x, go to Incidents & Events -> Handlers -> Basic Handlers -> Create New.
  • In v7.6.x, go to Incidents & Events -> Event Handlers -> Event Handlers -> Create New.

 

handlers using notification profiles.png

 

  1. Trigger the event and check if it is present in Event Monitor and webhook site.

 

event monitor triggered.png

 

webhook site output sample.png

 

Related articles:

Technical Tip: FortiAnalyzer use webhook to send alert to Telegram 

Technical Tip: FortiAnalyzer use webhook to send alert to Slack 

Configuring the webhook - FortiAnalyzer documentation