How To Use the Webhook Collector¶
Webhooks in Tornado Webhook Collector are defined by JSON files, which
must be stored in the folder
/neteye/shared/tornado_webhook_collector/conf/webhooks/
. Examples of
configurations of webhooks for the Tornado Webhook Collector can be
found in the directory
/usr/share/doc/tornado-<tornado_version>/examples/webhook_collector_webhooks/
.
Detailed information on how to configure webhooks in Tornado can the found inside the official Tornado documentation; in particular, the Webhook Collector documentation describes the architecture of the Webhook Collector and its configuration parameters and options.
In NetEye, you can send events to the Tornado Webhook Collector by posting the events to the endpoint
https://<neteye-hostname>/tornado/webhook/event/<webhook_id>?token=<webhook_token>
where <webhook_id>
and <webhook_token>
are respectively the
id
and the token
defined in the webhook’s JSON configuration.