Acceldata
Pulse

Last updated: Dec 05, 2026 00:26 IST

Configure the Elasticsearch URI for Gauntlet

Gauntlet connects to Elasticsearch using the ELASTIC_URI environment variable defined in the $AcceloHome/config/docker/ad-core.yml file.

For a multi-node Elasticsearch cluster, configure the URIs of all Elasticsearch nodes as a single comma-separated value. You must either encrypt the complete URI list or set ELASTIC_ENCRYPTED=false.

Perform these steps on the Pulse core node after all Elasticsearch nodes are running.

Steps

  1. Prepare the Elasticsearch URI list.
    Use the HTTP port exposed by each Elasticsearch node. The default port is 19013.
    • If the Pulse core node can resolve the Elasticsearch hostnames through DNS, use the hostnames:
http://elastic_clstr1.acceldata.dvl:19013,http://elastic_clstr2.acceldata.dvl:19013,http://elastic_clstr3.acceldata.dvl:19013
  • If DNS resolution is unavailable, use the Elasticsearch node IP addresses:
<IP_Address 1>,<IP_Address 2>,<IP_Address 3>
  1. Encrypt the Elasticsearch URI list.
    Run the following command:
accelo admin encrypt
  1. When prompted, provide the complete comma-separated URI list as a single value.
    Important: Encrypt the entire URI list together. Do not encrypt individual Elasticsearch URLs separately.
  2. Update the Gauntlet configuration.

Open the Pulse core Docker Compose file:

vi $AcceloHome/config/docker/ad-core.yml
  1. Under the ad-gauntlet service, configure the following environment variables:

ad-gauntlet:
  environment:
    - ELASTIC_URI=<encrypted comma-separated URI>
    - ELASTIC_ENCRYPTED=true
  1. Save the changes.
    Note: If you use an unencrypted URI list, set ELASTIC_ENCRYPTED=false.
  2. Configure hostname resolution, if required.
    If the Elasticsearch URIs use hostnames that the Pulse core node cannot resolve, add the following entries to /etc/hosts on the Pulse core node:

<IP Address 1>   elastic_clstr1.acceldata.dvl
<IP Address 2>  elastic_clstr2.acceldata.dvl
<IP Address 3> elastic_clstr3.acceldata.dvl
  1. Mount the hosts file into the Gauntlet container by adding the following configuration under ad-gauntlet in $AcceloHome/config/docker/ad-core.yml:

ad-gauntlet:
  volumes:
- /etc/hosts:/etc/hosts:ro
  1. Restart Gauntlet.
    Run the following command to apply the configuration changes:
accelo restart ad-gauntlet
  1. Verify the Elasticsearch connection.

Run the following command to check the Gauntlet logs:

docker logs ad-gauntlet_default 2>&1 | grep -E "Elastic Server Version|Cannot connect to the Elastic Server|failed to decrypt elastic address"
  1. A successful connection logs the following information:
    • Elastic Client Version
    • Elastic Server Version
  2. If the connection fails, review the following error messages:
| Error Message | Possible Cause | |---|---| | Cannot connect to the Elastic Server | Incorrect Elasticsearch URI, unreachable node, or hostname resolution failure. | | failed to decrypt elastic address | Incorrect encrypted value or mismatch between the URI format and the ELASTIC_ENCRYPTED setting. |

The connection error identifies the hostname or IP address of the Elasticsearch node that failed.

Result: Gauntlet successfully connects to the configured Elasticsearch nodes using the updated ELASTIC_URI value.