Grafana Cloud Enterprise
Last reviewed: March 17, 2026

Configure the Sumo Logic data source

To start querying your Sumo Logic data in Grafana, you need to add and configure the Sumo Logic data source. Configuration involves selecting your API region, setting request parameters, and providing your access credentials.

Before you begin

Before configuring the data source, ensure you have:

Add the data source

To add the Sumo Logic data source:

  1. Click Connections in the left-side menu.
  2. Click Add new connection.
  3. Type Sumo Logic in the search bar.
  4. Select Sumo Logic.
  5. Click Add new data source.

Configure settings

The API Region section contains the connection and request settings. The following table describes the available settings.

SettingDescription
API region / URL(Required) The Sumo Logic API endpoint for your deployment. Select a preset region from the drop-down, or type a custom URL directly into the field. Available regions: US1 (default), US2, EU, AU, CA, DE, IN, JP, FED. Refer to Sumo Logic endpoints by deployment to determine your region.
TimeoutMaximum time in seconds to wait for API responses. Increase this value if you experience timeout errors with complex queries or large time ranges. Minimum: 1. Default: 30.
IntervalPolling interval in milliseconds for log search job status checks. Lower values return results faster but generate more API requests. Increase this value if you encounter rate limiting. Minimum: 200. Default: 1000.

The following table lists the preset API regions.

RegionURL
US1https://api.sumologic.com/api/
US2https://api.us2.sumologic.com/api/
EUhttps://api.eu.sumologic.com/api/
AUhttps://api.au.sumologic.com/api/
CAhttps://api.ca.sumologic.com/api/
DEhttps://api.de.sumologic.com/api/
INhttps://api.in.sumologic.com/api/
JPhttps://api.jp.sumologic.com/api/
FEDhttps://api.fed.sumologic.com/api/

Authentication

The Sumo Logic data source uses access ID and access key authentication. This is the only supported authentication method.

To configure authentication:

  1. In the Sumo Logic console, generate an access ID and access key pair. Refer to the Sumo Logic Access Keys documentation for instructions.
  2. In the data source configuration, enter your credentials in the Authentication method section.
SettingDescription
AccessIDYour Sumo Logic access ID.
AccessKeyYour Sumo Logic access key. This value is stored securely. To change a previously saved key, click Reset and enter a new value.

Verify the connection

Click Save & test to verify the data source is configured correctly. A successful connection displays the message Sumo Logic successfully connected.

If the test fails, refer to Troubleshooting for common errors and solutions.

Provision the data source

You can define and configure the Sumo Logic data source in YAML files as part of Grafana’s provisioning system. For more information about provisioning, refer to Provision Grafana.

The following example provisions the Sumo Logic data source with access key authentication:

YAML
apiVersion: 1

datasources:
  - name: Sumo Logic
    type: grafana-sumologic-datasource
    jsonData:
      apiUrl: https://api.sumologic.com/api/
      authMethod: accessKey
      accessId: <ACCESS_ID>
      timeout: 30
      interval: 1000
    secureJsonData:
      accessKey: <ACCESS_KEY>

Replace <ACCESS_ID> and <ACCESS_KEY> with your Sumo Logic credentials. For a complete list of available provisioning settings, refer to the settings tables in the Configure settings and Authentication sections.

Provision with Terraform

You can provision the Sumo Logic data source using the Grafana Terraform provider. For more information about Grafana Terraform provisioning, refer to Provision Grafana with Terraform.

The following example provisions the Sumo Logic data source with access key authentication:

hcl
resource "grafana_data_source" "sumologic" {
  type = "grafana-sumologic-datasource"
  name = "Sumo Logic"

  json_data_encoded = jsonencode({
    apiUrl     = "https://api.sumologic.com/api/"
    authMethod = "accessKey"
    accessId   = "<ACCESS_ID>"
    timeout    = 30
    interval   = 1000
  })

  secure_json_data_encoded = jsonencode({
    accessKey = "<ACCESS_KEY>"
  })
}

Replace <ACCESS_ID> and <ACCESS_KEY> with your Sumo Logic credentials.

Next steps

After configuring the data source, you can: