> ## Documentation Index
> Fetch the complete documentation index at: https://docs.airmdr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SumoLogic

> Sumo Logic is a cloud-based log management and analytics platform used for monitoring, troubleshooting, and securing applications and infrastructure. It collects, analyzes, and visualizes machine data (logs, metrics, and traces) to help your organizations gain real-time insights into IT environments.

### Generate SumoLogic Access Key and Access ID

Sumo Logic has two user interfaces (UIs):

1. **Classic UI** – The older interface, which some legacy users may still be using.
2. **New UI (Cloud SIEM & Observability UI)** – A modernized version with enhanced features and improved navigation.

### To Generate Access Key and Access ID - SumoLogic Classic UI

<Steps>
  <Step title="Access SumoLogic Portal">
    1. Login to the [SumoLogic portal](https://service.sumologic.com/ui/) with your credentials.
    2. Provide the necessary credentials (**Email** and **Password**), and click **Sign In**.

           <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic11.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=21a971c09d76d3cd3cbdbcc234a418f4" alt="Sumo Logic11 Pn" width="1600" height="601" data-path="images/SumoLogic11.png" />
  </Step>

  <Step title="Create a New Access Key and Access ID">
    1. In the left navigation pane, select **Administration** → **Security**.

           <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic5.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=d307de95f2b37a64e2344735cf1b3b1f" alt="Sumo Logic5 Pn" width="304" height="922" data-path="images/SumoLogic5.png" />
    2. In the top menu, select the **Access Keys** tab.
    3. Click on the **+ Add Access Key** icon.

           <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic6.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=5aff87107110c5c3889218087316b91b" alt="Sumo Logic6 Pn" width="1495" height="222" data-path="images/SumoLogic6.png" />
    4. In the **Add New Access Key** window, enter a descriptive name for the key in the **Name** field.​

           <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic7.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=71491e28f935cb5b9853e4aa777e7947" alt="Sumo Logic7 Pn" width="736" height="909" data-path="images/SumoLogic7.png" />
    5. (Optional) In the **Allowed CORS Domains** field, specify any domains from which the access key can access Sumo Logic APIs.
    6. Choose the appropriate **Scopes** for the key:​
       * **Default**: Grants all permissions.
       * **Custom**: Select specific permissions by choosing the desired **View** and **Manage** permissions.
    7. Click **Save** to generate the Access ID and Access Key.

           <img src="https://mintcdn.com/airmdr/52QIYyZXzuGSG0Sv/images/SumoLogic8.png?fit=max&auto=format&n=52QIYyZXzuGSG0Sv&q=85&s=cf9abc6fda141b898e19022ef30db97e" alt="Sumo Logic8 Pn" width="789" height="550" data-path="images/SumoLogic8.png" />

           <Warning>
             This is the only time the **Access ID** and **Access Key** will be displayed. \
             Copy and securely store both values before clicking **Done**.
           </Warning>

           <Note>
             Administrators can only manage access keys for the organization by navigating to **Administration** → **Security** → **Access Keys** in the main menu.
           </Note>

           <Check>
             <Icon icon="envelope" /> Email the **Access ID** and **Access Key** to AirMDR or self Configure Duo Security in the AirMDR Integrations Dashboard.
           </Check>
  </Step>
</Steps>

### To Generate Access Key and Access ID - SumoLogic New UI

<Steps>
  <Step title="Access SumoLogic Portal">
    1. Login to the [SumoLogic portal](https://service.sumologic.com/ui/) with your credentials.
    2. Provide the necessary credentials (**Email** and **Password**), and click **Sign In**.

           <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic11.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=21a971c09d76d3cd3cbdbcc234a418f4" alt="Sumo Logic11 Pn" width="1600" height="601" data-path="images/SumoLogic11.png" />
  </Step>

  <Step title="Create a New Access Key and Access ID">
    1. In the main menu, click on your **username**.
    2. Select **Preferences**.

           <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic12.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=da585a69dcf15e4a8d227163efca48a1" alt="Sumo Logic12 Pn" width="785" height="267" data-path="images/SumoLogic12.png" />
    3. Click on the **Personal Access Keys** tab.
    4. Click on the **+ Add Access Key** icon.

           <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic13.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=3611ef6450b7455493c002865e5d1af4" alt="Sumo Logic13 Pn" width="784" height="113" data-path="images/SumoLogic13.png" />
    5. In the **Add New Access Key** window, enter a descriptive name for the key in the **Name** field.​

           <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic7.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=71491e28f935cb5b9853e4aa777e7947" alt="Sumo Logic7 Pn" width="736" height="909" data-path="images/SumoLogic7.png" />
    6. (Optional) In the **Allowed CORS Domains** field, specify any domains from which the access key can access Sumo Logic APIs.
    7. Choose the appropriate **Scopes** for the key:​
       * **Default**: Grants all permissions.
       * **Custom**: Select specific permissions by choosing the desired **View** and **Manage** permissions.
    8. Click **Save** to generate the Access ID and Access Key.

           <img src="https://mintcdn.com/airmdr/52QIYyZXzuGSG0Sv/images/SumoLogic8.png?fit=max&auto=format&n=52QIYyZXzuGSG0Sv&q=85&s=cf9abc6fda141b898e19022ef30db97e" alt="Sumo Logic8 Pn" width="789" height="550" data-path="images/SumoLogic8.png" />

           <Warning>
             This is the only time the **Access ID** and **Access Key** will be displayed. \
             Copy and securely store both values before clicking **Done**.
           </Warning>

           <Note>
             Administrators can only manage access keys for the organization by navigating to **Administration** → **Security** → **Access Keys** in the main menu.
           </Note>

           <Check>
             <Icon icon="envelope" /> Email the **Access ID** and **Access Key** to AirMDR or self Configure Duo Security in the AirMDR Integrations Dashboard.
           </Check>
  </Step>
</Steps>

### SumoLogic API Testing

Open **cURL** and run the following command to check if your API Key is working:

```

curl --location --request POST 'https://api.sumologic.com/api/v1/search/jobs' \
  --header 'Content-Type: application/json' \
  --user '<access_id>:<access_key>' \
  --data-raw '{
    "query": "_sourceCategory=* | count by _sourceName",
    "from": "<FROM_TIME>",
    "to": "<TO_TIME>",
    "timeZone": "UTC"
}'
```

Response

```
{"valid": true}
```

### Configure SumoLogic in the AirMDR Integrations Dashboard

1. Navigate to [AirMDR](https://app.airmdr.com/auth/login), provide the credentials, and click **Login**

   <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog11.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=94afec6835b90abcec516831e584184f" alt="" width="443" height="568" data-path="images/Datadog11.png" />
2. Navigate to the AirMDR Integrations Dashboard in the left navigation pane and select **Integrations**

   <img src="https://mintcdn.com/airmdr/wnBXbVlE7mmN9W6R/images/Datadog9.png?fit=max&auto=format&n=wnBXbVlE7mmN9W6R&q=85&s=314cbc6e406f70453a592159150f36e2" alt="" width="311" height="473" data-path="images/Datadog9.png" />
3. Use the search option, enter the keyword "**SumoLogic**", select the **Connections** tab, and click **Create**.

   <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic1.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=e735188d7ed8b77f612ebea86f5b9f28" alt="Sumo Logic1 Pn" width="1805" height="470" data-path="images/SumoLogic1.png" />
4. Enter the generated **Access ID** and **Access Key** in the Authentication Details field params, and click **Create.**

   <img src="https://mintcdn.com/airmdr/-Uv__fqsZox2OjNr/images/SumoLogic2.png?fit=max&auto=format&n=-Uv__fqsZox2OjNr&q=85&s=0bb11b4dc796fbf159684d71999187a2" alt="Sumo Logic2 Pn" width="882" height="840" data-path="images/SumoLogic2.png" />
