Configure a Collector

Configure a Source

Source Host. Sumo Logic uses the hostname assigned by the OS unless you enter a different host name.

Source Category. Enter any string to tag the output collected from this source, such as GitHub. (The Source Category metadata field is a fundamental building block to organize and label sources. For details see Best Practices.)

Save the HTTP Source Address. You will need this to configure the GitHub Webhook.

Configure a GitHub Webhook

In GitHub, configure a webhook to connect to your Sumo Logic HTTP Source. You can configure the webhook at the Organization or Repository level. Once configured, it will be triggered each time one or more subscribed events occurs in that Organization or Repository.

You can create up to 20 webhooks for each event on each specific organization or repository.

To configure a GitHub Webhook

Sign in to your GitHub account.

Go to your Organization.

Go to Settings > Webhooks.

Click Add webhook. The Add webhook form appears.

Enter webhook form data as follows:

Payload URL. Enter the Sumo Logic HTTP Source Address

Content type. Select application/json.

Secret. Leave blank.

Which events would you like to trigger this webhook? Select Send me everything.

Active. Check the box.

Click Add webhook.

Sample Log Messages

GitHub sends all fields in the payload, documented according to Event Type.

Install the Sumo Logic App

Now that you have set up collector GitHub, install the Sumo Logic App for GitHub to use the preconfigured searches and dashboards that provide insight into website visitor behavior patterns, monitor server operations, and assist in troubleshooting issues that span entire web server farms.

Recommended articles

Sumo Logic is the industry’s leading secure, cloud-native, machine data analytics service, delivering real-time, continuous intelligence across the entire application lifecycle and stack. More than 1,000 customers around the globe rely on Sumo Logic for the analytics and insights to build, run and secure their modern applications and cloud infrastructures.