Elasticsearch is an open-source search and analytics engine built on top of Apache Lucene. It is designed to store, search, and analyze large volumes of data quickly and efficiently. Elasticsearch allows you to index both structured and unstructured data, offering advanced full-text search features such as relevance search, keyword matching, filtering, and result highlighting. Additionally, it supports powerful aggregations for data analysis, enabling you to gain valuable insights from your information. With its distributed and scalable architecture, Elasticsearch can be deployed in clusters to handle intensive workloads, providing high availability, fault tolerance, and optimized performance. It is widely used in various use cases, such as full-text search, log analysis, application monitoring, content personalization, and real-time data exploration. Elasticsearch has become a popular choice for companies seeking a robust and flexible solution for data indexing and searching at scale.
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