Netlify is a web development platform for building fast and dynamic websites, e-commerce stores, and web applications. You can use a webhook in the Netlify platform to forward site deployment events from the Netlify platform to the Sumo Logic HTTP endpoint. Using these logs, you can monitor deploy processes including events such as deploy started, succeeded, failed, deleted, locked, unlocked, request status changes, and transitions between previously successful and failed deploys in Sumo Logic. For more details, refer to the Netlify Documentation.
The Sumo Logic integration for Netlify ingests site deployment events into Sumo Logic through an outgoing webhook available in Netlify. For more information on supported events that are ingested through the Netlify webhook, see the Netlify Documentation
This section has instructions for collecting logs for the Sumo Logic Netlify webhook collection.
Follow the below steps to configure the Hosted Collector to receive Netlify events:
- In the Sumo Logic portal, create a new Hosted Collector or use an existing one. Then add a HTTP Logs and Metrics Source.
- Configure Source Category in the HTTP Source - for example,
webhook/netlify- for the Netlify integration.
- Copy and save the endpoint URL of the source.
Configure the webhook integration in Netlify to send events to the Sumo Logic HTTP source. Once configured, it will be triggered each time the events occur within your Netlify account.
Follow the below steps to configure the Netlify webhook.
- Sign in to the Netlify account.
- Go to Sites, and select a site for which you want to send notifications to Sumo Logic.
- Go to Site configuration, and select Build & deploy.
- Go to Deploy notifications.
- Click Add notification, and select Outgoing webhook, the webhook form appears.
- Enter webhook form data as follows:
- Event to listen for. Select the type of events that will cause this webhook to execute.
- URL to notify. Enter the Sumo Logic HTTP endpoint URL (source address) created above.
- Click Save.
- Verify Netlify events are getting ingested in Sumo Logic by executing the following query on Sumo Logic's Log Search panel.