Edge Delta Azure Event Hubs Triggers
2 minute read
Overview
This output type sends notifications and alerts to a specified Event Hub URL.
To create this output, you must have an Azure AD token. To learn how to create an Azure AD token, review this document from Microsoft.
Example
- name: eventhub-test
type: eventhub
endpoint: https://eventshub-test.servicebus.windows.net/test/messages
token: "test-token"
notify_content:
custom_fields:
"test-field": "test"
custom_headers:
X-header1: "test-header"
Parameters
name
Required
Enter a descriptive name for the output or integration.
For outputs, this name will be used to map this destination to a workflow.
name: eventhub-test
integration_name
Optional
This parameter refers to the organization-level integration created in the Integrations page.
If you need to add multiple instances of the same integration into the config, then you can add a custom name to each instance via the name parameter. In this situation, the name should be used to refer to the specific instance of the destination in the workflows.
integration_name: ed-alert-azureevent
type: eventhub
Required
Enter eventhub.
type: eventhub
endpoint
Required
Enter the Event Hubs endpoint.
endpoint: https://eventshub-test.servicebus.windows.net/test/messages
token
Required
Enter the Azure AD token.
token: "test-token"
custom_headers and custom_fields
Optional
This parameter is used to customize the notification content.
If you do not want to use default fields in a notification, then you can create custom headers and fields.
notify_content:
custom_fields:
"test-field": "test"
custom_headers:
X-header1: "test-header"