Coralogix offers customers the option of automating the creation of your incoming webhooks to connect your applications to Coralogix.
Use our incoming webhooks to simplify the process of generating a webhook URL to connect your applications to Coralogix. This feature enables you to automatically generate the webhook URL necessary to send us your telemetry and expands the selection of applicationsavailable for this purpose.
STEP 1. In your Coralogix navigation pane, click Data Flow > Extensions.
STEP 2. In the Webhooks section, click Generic Webhook and click +ADD.
STEP 3. Click NEW WEBHOOK.
STEP 4. Fill in the integration details:
Webhook Name: Name your webhook.
Your API Key. Click CREATE NEW KEY to generate an API Key and name it.
Content Type. Select either JSON or Text. If JSON is selected, the webhook expects requests with content-type as either application/json or application/x-ndjson.
Timestamp. Select whether to generate the timestamp using the system time when the event was ingested or to extract it from the body of the event.
If extracting from the body of the event, select whether to extract using a Path or Regex. Generally when the content type is JSON, the extraction will use a path, and when the content is text, the extraction will use Regex.
Enter the path or Regex to use to extract the timestamp.
STEP 5. Click GENERATE URL. The URL for the webhook will be automatically created. Copy and paste into the relevant application.
For example, to create an incoming webhook with GitLab, you would paste the URL into the highlighted field, as in the following image.
NOTE: If you are working in Secure Mode, you will be able to download the URL once, when you first generate it, and the URL will appear masked in the system.