Skip to main content
Prerequisite: The Resolve Satellite should be installed in your environment.

Create a Service Account Token

To access your Elasticsearch environment a service account token is needed. If you don’t already have a service account, please create one: How to create a service account. Once you have a Service Account to use, you can create an API Key with read-only permissions.
Permissions
Official Documentation: Access and AuthenticationRun the following command. Please ensure that you replace the following properties:
  • ELASTIC_PASSWORD: This is the password of the elastic user.
  • ELASTIC_HOSTNAME: This is the FQDN of the Elastic endpoint.
The response will include the encoded token. Please copy it.
Response
Note: You must copy the encoded token. You will not be able to retrieve it after creation. Store this token in a secure manner, and do not check into source code. This token will be used in your ResolveAI configuration.

Configure the Elasticsearch integration in Resolve Satellite

Below is an example of how to setup the Elasticsearch integration in the satellite with the url property as well as using the k8s secret (potentially backed by an AWS secret manager or another mechanism) for authentication.
1

Create a Kubernetes secret

Create a Kubernetes secret of the following form. Note that the structure of the secret is important and for a Elasticsearch API Key, it must have the top-level key token: ‘token-value’.
elastic-resolve-access-token.yml
Security Best Practice: Never store credentials in plaintext in configuration files or source control. Always use Kubernetes secrets and encrypt etcd or use enterprise secret management systems. See Secret Management for detailed guidance.
To apply the secret run
apply secret
2

Configure your Elasticsearch API Key in the Resolve Satellite

Update your helm values override file with the following information (e.g.: resolve-values.yaml)
resolve-values.yaml
Install the satellite and apply the values from the yaml file that you have just updated. e.g.: resolve-values.yaml. To find the latest version, visit ResolveAI’s docker hub repository for the helm chart and satellite image.
apply config to satellite and redeploy
Once your satellite is deployed, we will automatically create an integration instance for you.
3

Verify your integration status in ResolveAI

Login to https://app0.resolve.ai/. Go to the integrations page and and select “Elasticsearch”You should see an automatically created integration based on the provided configuration.