Elasticsearch Verification Overview

Updated 1 week ago by Michael Cretzman

This guide describes how to set up Harness Continuous Verification features and monitor your deployments and production applications using its unsupervised machine-learning functionality on Elasticsearch.

Harness supports Elasticsearch 5.0 to 6.8.

Walk through this guide in the following order:

  1. Elasticsearch Connection Setup
  2. 24/7 Service Guard for Elasticsearch
  3. Verify Deployments with Elasticsearch
  4. Troubleshooting Elasticsearch

Integration Overview

Harness Continuous Verification integrates with ELK to verify your deployments and live production applications using the following Harness features:

  • 24/7 Service Guard - Monitors your live, production applications.
  • Deployment Verification - Monitors your application deployments, and performs automatic rollback according to your criteria.

This document describes how to set up these Harness Continuous Verification features and monitor your deployments and production applications using its unsupervised machine-learning functionality.

Exceptions with Elasticsearch via Kibana

Harness Analysis of Elasticsearch Verification

Harness verifies your deployments and production services using the following features:

  • 24/7 Service Guard - Monitors your live, production applications using Harness Continuous Verification.
  • Deployment Verification - Monitors your application deployments using Harness Continuous Verification, and performs automatic rollback according to your criteria.

Setup Preview

You set up ELK and Harness in the following way:

  1. ELK - Monitor your application using ELK. In this article, we assume that you are using ELK to monitor your application already.
  2. ​Verification Provider Setup - In Harness, you connect Harness to your ELK account, adding ELK as a Harness Verification Provider.
  3. Harness Application - Create a Harness Application with a Service and an Environment. We do not cover Application set up in this article. See Application Checklist.
  4. ​24/7 Service Guard Setup- In the Environment, set up 24/7 Service Guard to monitor your live, production application.
  5. Verify Deployments:
    1. Add a Workflow to your Harness Application and deploy your microservice or application to the service infrastructure/Infrastructure Definition in your Environment.
    2. After you have run a successful deployment, you then add verification steps to the Workflow using your Verification Provider.
    3. Harness uses unsupervised machine-learning and Elasticsearch analytics to analyze your future deployments, discovering events that might be causing your deployments to fail. Then you can use this information to set rollback criteria and improve your deployments.

Next Step


How did we do?