1 - Elasticsearch Connection Setup

Updated 1 month ago by Michael Cretzman

The first step in using Elasticsearch with Harness is to set up an Elasticsearch Verification Provider in Harness.

A Harness Verification Provider is a connection to monitoring tools, such as Elasticsearch. Once Harness is connected, you can use Harness 24/7 Service Guard and Deployment Verification with your Elasticsearch data and analysis.

Elasticsearch Verification Provider Setup

To add Elasticsearch as a Harness Verification Provider, do the following:

  1. In Harness, click Setup.
  2. Click Connectors, and then click Verification Providers.
  3. Click Add Verification Provider, and select ELK. The Add ELK Verification Provider dialog for your provider appears.
  1. Complete the following fields of the Add ELK Verification Provider dialog.



Connector type

Select the server type for the connection. You can choose whether to access your ELK server directly using the Elasticsearch Server URL (recommended).


Enter the URL of the server. The format is http(s)://server:port/. The default port is 9200.

Username and Password

Enter the credentials to authenticate with the server.


Some systems provide Elasticsearch as a service and use access tokens.If you have token based authentication, provide the authentication header that is passed when making the HTTP request.

Header: APITokenKey. Example: x-api-key (varies by system).

Value: APITokenValue. Example: kdsc3h3hd8wngdfujr23e23e2.

Display Name

Enter a display name for the provider. If you are going to use multiple providers of the same type, ensure you give each provider a different name.

Usage Scope

If you want to restrict the use of a provider to specific applications and environments, do the following:

In Usage Scope, click the drop-down under Applications, and click the name of the application.

In Environments, click the name of the environment.

  1. When you have set up the dialog, click TEST.
  2. Once the test is completed, click SUBMIT to add the Verification Provider.

If you receive an error, see Troubleshooting.

Next Step

How did we do?