What does the Elastic Search connector do?
To monitor Elasticsearch on the One Platform:
- Go to the product application where you want to add Elasticsearch as a dependency.
- Click on the “Products” menu, then select the desired product card.
- Click on the name of the application you want to configure.
- In the “External Dependencies” section, located below the latency graph, you can add or search for an existing dependency.
- To add a new dependency, click on the green button with a plus symbol (+).
When you click “Add,” a modal will appear. In this modal, you will name your dependency and choose the Environment. In the “Check type” field, select the option “Search Engine,” and in the “Method” field, choose “Elasticsearch.” After selecting the method, a field for the Healthcheck URL will appear.
Check below the example strings for Elasticsearch:
example 1: http://HOST:PORT/_cluster/health/staging_entities-orgid
example 2: http://USER:PASSWORD@HOST:PORT/_cluster/health/staging_entities-orgid
example 3: http://APIKEY@HOST:PORT/_cluster/health/staging_entities-orgid
Note: For security reasons, it is not permitted to enter an IP in the healthcheck field. To monitor an IP, you need to enter it in a secret and use it in healthcheck