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.Option 1: Create the API Key via the UI [Recommended]
Option 1: Create the API Key via the UI [Recommended]
- In the Elastic UI, open Stack Management > API Keys
- Click on Create API Key
- Enter a Name for your key, ex.
resolve-api-access - In the Control security privileges section, add this block for permissions:
Permissions
Option 2: Create the API Key via the REST API
Option 2: Create the API Key via the REST API
Official Documentation: Access and AuthenticationRun the following command. Please ensure that you replace the following properties:The response will include the encoded token. Please copy it.
- ELASTIC_PASSWORD: This is the password of the elastic user.
- ELASTIC_HOSTNAME: This is the FQDN of the Elastic endpoint.
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’.To apply the secret run
elastic-resolve-access-token.yml
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)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.Once your satellite is deployed, we will automatically create an integration instance for you.
resolve-values.yaml
apply config to satellite and redeploy
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.

