> 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

Use the integration to search and retrieve data from Sumo Logic in Fylamynt.

## 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

![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FNifaFFqh0g8A5TvdbtRe%2Fimage.png?alt=media\&token=24e79c61-187a-4b78-ac52-206f2dc931a1)

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)
  * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FICwUTtcTuenF1QXBaTUE%2Fimage.png?alt=media\&token=9dae8ffc-7502-41c8-a270-68ef7085006e)
* Click Administration -> Security
  * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FXAQltrrjdbo9LlTKkugO%2Fimage.png?alt=media\&token=98521980-19cf-4679-8f53-0b4bbadb7614)
* Click on **Add Access Key**
  * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2F6Q40Q5XpIfD2enWWgf1T%2Fimage.png?alt=media\&token=51cef09b-2b0f-4e7b-87bf-1ccbc36eca38)
* Enter the Access Key name
* Click Save
* ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2Fmb5EI1E1GnBOHLZ2Haz2%2Fimage.png?alt=media\&token=7fd51caf-dd77-435e-b59b-adb324d9b8cb)
* 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.

![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FbAFxkvtvqG6a2RngkQsY%2Fimage.png?alt=media\&token=33536f51-f1dc-4722-b062-3c69a44a31a9)
