---
title: Sumo Logic
description: >-
  Send logs from Sumo Logic to Datadog. Send Datadog notifications to Sumo
  Logic.
breadcrumbs: Docs > Integrations > Sumo Logic
---

# Sumo Logic

## Overview{% #overview %}

Datadog integrates with Sumo Logic in two ways: you can forward Sumo Logic log data to your Datadog event stream, and you can use Sumo Logic as a notification channel from Datadog alerts and events. In other words, each service can inform the other.

## Setup{% #setup %}

### Installation{% #installation %}

#### Datadog to Sumo Logic{% #datadog-to-sumo-logic %}

1. Login to Sumo Logic as a user with Administrator rights.
1. From the main menu, choose **Manage** -> **Collection**.
1. Click the **Add Collector** link at the top left.
   {% image
      source="https://docs.dd-static.net/images/integrations/summologic/integrations-sumo-hostedcollector.8c91c6e64714137be04d33991aa497c3.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/integrations/summologic/integrations-sumo-hostedcollector.8c91c6e64714137be04d33991aa497c3.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Hosted Collection" /%}
1. Choose **Hosted Collector**.
1. Enter a Name and optionally a description, category, and time zone. Click **Save**.
1. Click **HTTP** under Cloud APIs. Fill in the form as appropriate for the collector. Click **Save**.
1. Copy the URL given on the next dialog.
1. Go to the [Sumo Logic Integration settings](https://app.datadoghq.com/integrations/sumo_logic) screen in Datadog.
1. Enter the name you want to assign to the collector and the URL from above.
1. Next time you want to send a message from Datadog to Sumo Logic, use **@sumologic-{YOUR COLLECTOR NAME}**.

#### Sumo Logic to Datadog{% #sumo-logic-to-datadog %}

1. Login to Sumo Logic as a user with Administrator rights.

1. From the main menu, choose **Manage** -> **Connections**.

1. Click the **Add** button.

1. Click the **Datadog** button.

   {% image
      source="https://docs.dd-static.net/images/integrations/summologic/integrations-sumo-connectiontype.688a295bd22ddb7bce7ba86b830f8f17.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/integrations/summologic/integrations-sumo-connectiontype.688a295bd22ddb7bce7ba86b830f8f17.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Click the Datadog Button" /%}



1. Give the connection a Name and optionally a Description. For the URL, enter:

   ```text
   https://app.datadoghq.com/api/v1/events?api_key=<DATADOG_API_KEY>
   ```

1. Customize the payload as needed. Click the **Help** link to learn about the available variables.

1. Click **Test Connection**. You should see a new item in your Event Stream similar to this:

   {% image
      source="https://docs.dd-static.net/images/integrations/summologic/integrations-sumo-event.f380cd907875570d309d1483a2a4b462.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/integrations/summologic/integrations-sumo-event.f380cd907875570d309d1483a2a4b462.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Test Event" /%}



1. If everything looks good, click **Save**.

1. In Sumo Logic, save any search and choose to schedule the search.

1. Choose Webhook for the **Alert Type**. Choose your new Datadog connection from the list of webhooks. Optionally customize the payload and change the **Alert Condition** to send a notification only if the number of results is greater than 0.

   {% image
      source="https://docs.dd-static.net/images/integrations/summologic/integrations-sumo-savesearch.fb04762132a6cf6654fb7eb5dcc6cf33.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/integrations/summologic/integrations-sumo-savesearch.fb04762132a6cf6654fb7eb5dcc6cf33.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Hosted Collection" /%}

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
