---
title: Find and query Elasticsearch data in New Relic
source: https://docs.newrelic.com/docs/opentelemetry/integrations/elasticsearch/find-and-query-data
---

## View your Elasticsearch data [#find-and-use]

Once the collector is running and sending data, you can view your Elasticsearch metrics in New Relic:

1.  Go to  **[one.newrelic.com](https://one.newrelic.com)** > **Integrations & Agents**
2.  Search for  **Elasticsearch (OpenTelemetry)**
3.  In the  **Installation plan** , if you want to see the installation steps, click  **See installation docs** .    Otherwise, click  **Skip this step** .
4.  Click  **See your data** .

You should see dashboards showing cluster health, performance metrics, and resource usage. If you're monitoring Elasticsearch on Kubernetes, the dashboards will include Kubernetes-specific context.

Or

1.  Go to  **[one.newrelic.com](https://one.newrelic.com)** > **Integrations & Agents**
2.  Under the  **All**  tab, click  **dashboards** .
    Search for the Elasticsearch Otel, you can view the dashboard.

Or

1.  From the left panel, click  **Dashboards** .
2.  Search for the Elasticsearch Otel dashboard, you can view the dashboard.

> #### 💡 TIP
>
> **Not seeing data?** It may take a few minutes for data to appear. If you don't see metrics after 10 minutes, check the collector logs and verify your configuration.

## Set up alerts [#alerts]

Proactive monitoring with alerts helps you catch issues before they impact your users. To create alert conditions in New Relic:

1.  Go to **[one.newrelic.com](https://one.newrelic.com)** > **Alerts** > **Alert Conditions**
2.  Click **Create condition**
3.  Configure the alert using either [**Guided mode**](https://docs.newrelic.com/docs/alerts/create-alert/create-alert-condition/alert-conditions) or the [**NRQL**](https://docs.newrelic.com/docs/alerts/create-alert/create-alert-condition/create-nrql-alert-conditions) query builder

The alert configurations below are recommended for robust Elasticsearch monitoring:

### Essential alerts

These alerts monitor critical cluster health issues that can cause data loss or service outages:

**Unassigned Shards alert**

Metric `elasticsearch.cluster.shards` (where `state = 'unassigned'`) is above 0 for at least 5 minutes.

**Healthy data nodes alert**

Metric `elasticsearch.cluster.data_nodes` is below your minimum required node count for at least 5 minutes.

**Heap usage too high alert**

Heap usage percentage (Used/Max) is above 90% for at least 5 minutes.

**Pending tasks alert**

Metric `elasticsearch.cluster.pending_tasks` is above 5 for at least 5 minutes.

### Additional monitoring alerts

These alerts help monitor performance and operational issues:

**Query time slow alert**

95th percentile of `elasticsearch.node.operations.time` is above 5ms for at least 2 minutes.

**Initializing Shards too long**

Metric `elasticsearch.cluster.shards` (where `state = 'initializing'`) is above 0 for at least 5 minutes.

**Relocating Shards too long**

Metric `elasticsearch.cluster.shards` (where `state = 'relocating'`) is above 0 for at least 5 minutes.

**Next steps:**

-   **Metrics reference**: See the complete [Elasticsearch OpenTelemetry metrics reference](https://docs.newrelic.com/docs/opentelemetry/integrations/elasticsearch/metrics-reference) for all available metrics and their descriptions
-   **Explore metrics**: All Elasticsearch metrics are stored as `Metric` [event types](https://docs.newrelic.com/docs/data-apis/understand-data/new-relic-data-types)
-   **Create custom queries**: Use [NRQL](https://docs.newrelic.com/docs/nrql/get-started/introduction-nrql-new-relics-query-language) to build custom charts and dashboards
