Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add a Sumo Logic connector

Add a Sumo Logic connector so Harness can use Sumo Logic as a verification provider.

Sumo Logic is a cloud-based log management and analytics platform that collects, searches, and analyzes machine data from applications and infrastructure. Add a Sumo Logic connector in Harness to let your pipelines query the Sumo Logic logs and metrics. Harness can use that data in Continuous Verification to compare log patterns and detect anomalies after a deployment, helping you confirm a release is healthy, or trigger a rollback.

Go to Overview for information about all monitoring and logging connectors, such as scopes and delegate selection.


What you will learn from this topic


Before you begin

  • Sumo Logic access ID and access key: A Sumo Logic access ID and access key. Go to Access keys in the Sumo Logic documentation to create them.

  • API server URL: The API server URL for the deployment region of your Sumo Logic account.

  • Harness permissions: Permission to create connectors and secrets in Harness.


Add a Sumo Logic connector

You can add a Sumo Logic connector at the project, org, or account scope. This procedure covers the project scope, and the process is the same for org and account scope.

  1. Open your Harness project.

  2. In Project Settings, select Connectors.

  3. Click New Connector, then select Sumo Logic under Monitoring and Logging Systems. The Sumo Logic connector settings appear.

Overview

Configure the identity fields for the connector:

  1. In Name, enter a name for the connector. Harness generates the Id from the name.

  2. Optionally, add a Description and Tags.

  3. Click Continue.

Sumo Logic connector overview settings

Credentials

Configure the following settings:

  1. In Sumo Logic API Server URL, select the API server URL for the deployment of your Sumo Logic account. The dropdown lists the following URLs:

    • https://api.sumologic.com/

    • https://api.us2.sumologic.com/

    • https://api.eu.sumologic.com/

    • https://api.de.sumologic.com/

    • https://api.ca.sumologic.com/

    • https://api.au.sumologic.com/

    • https://api.jp.sumologic.com/

    • https://api.in.sumologic.com/

    • https://api.fed.sumologic.com/

  2. In Encrypted Access Id, click Create or Select a Secret, then select or create a new Harness encrypted text secret to store your Sumo Logic access ID.

  3. In Encrypted Access Key, click Create or Select a Secret, then select or create a new Harness encrypted text secret to store your Sumo Logic access key.

  4. Click Next.

Sumo Logic connector credentials with the API server URL, access ID, and access key fields

Match the URL to your deployment

Select the API server URL that matches the deployment where your Sumo Logic account is hosted. If the URL does not match, the connection test fails. Go to Sumo Logic API authentication, endpoints, and rate limits in the Sumo Logic documentation to find your deployment.

Delegates Setup

Select one of the following options:

  • Use any available Delegate: Harness selects an available delegate at runtime.

  • Only use Delegates with all of the following tags: Enter the tags of the delegates Harness must use with this connector.

The Test Delegate Connectivity list shows the delegates that match your selection. To add a delegate, click Install new Delegate.

Click Save and Continue.

Sumo Logic connector delegates setup with the delegate connectivity list

Verify Connection

Click Finish after the connection test succeeds. The connector is listed in Connectors page.


Sample YAML

The following example shows a YAML for the Sumo Logic connector created in this topic.

YAML - Sumo Logic connector

For the full connector YAML schema, including how to skip connector preflight checks, go to Create a connector using YAML.


Next steps

Last updated

Was this helpful?