> For the complete documentation index, see [llms.txt](https://docs.fylamynt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fylamynt.com/integrations/sumologic.md).

# Sumo Logic

## Overview <a href="#overview" id="overview"></a>

This integration is built for users who would like to interact with the data from Sumo Logic in their automation workflows.

## Use Cases <a href="#use-cases" id="use-cases"></a>

The integration between Fylamynt and Sumo Logic lets you:

* Retrieve data from Sumo Logic based on a query described in Sumo Logic [query syntax](https://help.sumologic.com/05Search/Search-Query-Language).

## Configure Sumo Logic in Fylamynt

* Navigate to **Settings** > **Integrations** > **Sumo Logic**
* Configure a new integration instance

![](/files/mpAITJhXBR3j0Is4dALg)

Details needed to set up **Sumo Logic instance** in **Fylamynt**:

<table data-header-hidden><thead><tr><th>Parameters</th><th width="380.3333333333333">Description</th><th>Required</th></tr></thead><tbody><tr><td><strong>Parameters</strong></td><td><strong>Description</strong></td><td><strong>Required</strong></td></tr><tr><td>Sumo Logic Access Id</td><td>Unique access_id to access your Sumo Logic account</td><td>True</td></tr><tr><td>Sumo Logic Access Key</td><td>API key for authorization</td><td>True</td></tr></tbody></table>

Follow the steps listed below in your **Sumo Logic Account** and get the desired parameters to enter in **Fylamynt**

* Login to your **Sumo Logic Account**
* Click on your **Name** (left side bottom)
  * ![](/files/ZbGoiYimmOMbKVNs8iSq)
* Click Administration -> Security
  * ![](/files/6yRYYn1q23iONEQUeWzm)
* Click on **Add Access Key**
  * ![](/files/96m11eIqetkiJmzQ7A62)
* Enter the Access Key name
* Click Save
* ![](/files/ehzgLdQEmqYJocqYPF9F)
* Copy the **Access ID** and paste it into the Sumo Logic Access ID field on the Authorize Fylamynt card
* Copy the **Access Key** and paste it into the Sumo Logic Access Key field on the Authorize Fylamynt card
* Click Authorize

## Integration Actions <a href="#integration-actions" id="integration-actions"></a>

You can add these actions in the Fylamynt workflow builder, as part of your workflow.

1. [SumoLogic Search](#sumologic-search)

### SumoLogic Search <a href="#sumologic-search" id="sumologic-search"></a>

Integration node to run Sumo Logic Search

**Input**

| **Parameter Name** | **Description**                          | **Required** |
| ------------------ | ---------------------------------------- | ------------ |
| alias              | AWS assume role alias                    | True         |
| from\_time         | Start Time to query from                 | True         |
| to\_time           | End Time to query to                     | True         |
| query              | Query to run                             | True         |
| s3\_bucket         | S3 bucket name to store query and result | False        |

**Output**

| **Parameter Name**    | **Type** | **Description**                                               |
| --------------------- | -------- | ------------------------------------------------------------- |
| execution\_status     | String   | Status of run (ie: S\_OK / E\_FAIL)                           |
| result                | String   | Query result                                                  |
| is\_result\_truncated | Boolean  | Boolean value which denotes if the result is truncated or not |
| result\_bucket\_key   | String   | Name of the file where result is written                      |
| s3\_bucket            | String   | Name of the bucket                                            |

**Note:**

* AWS SSM automation has a restriction on the size of the response object (\~100 KB), so if a query has a result greater than this value then truncated result would be returned and if **S3 Bucket Name** is provided then the whole result would be written to the bucket.

**Action Example**

* Drag and drop the Sumo Logic Search Action node onto the Workflow Editor Canvas
* Select the Action node&#x20;
* Enter the Query
* Set the From time
* Set the To time
* Optionally, select the AWS Target Account Alias and S3 bucket name for the query output.

![](/files/vvGu7bTNITUQE6Gd64Sk)
