View your Elasticsearch data
Once the collector is running and sending data, you can view your Elasticsearch metrics in New Relic:
- Go to one.newrelic.com > Integrations & Agents
- Search for Elasticsearch (OpenTelemetry)
- In the Installation plan , if you want to see the installation steps, click See installation docs . Otherwise, click Skip this step .
- 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
- Go to one.newrelic.com > Integrations & Agents
- Under the All tab, click dashboards . Search for the Elasticsearch Otel, you can view the dashboard.
Or
- From the left panel, click Dashboards .
- Search for the Elasticsearch Otel dashboard, you can view the dashboard.
Conseil
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.
View distributed traces and APM correlation
If you enabled APM correlation with distributed tracing, you can query the Elasticsearch spans and see how your applications connect to the cluster.
Confirm Elasticsearch is emitting spans tagged with the cluster name:
FROM Span SELECT count(*)WHERE es.cluster.name = '<elasticsearch-cluster-name>'FACET nameSINCE 30 minutes agoSee which applications are calling Elasticsearch:
FROM Span SELECT uniques(service.name)WHERE db.system = 'elasticsearch'SINCE 30 minutes agoYou can also open the Elasticsearch cluster entity and view its service map: instrumented applications appear connected to the cluster through a CALLS relationship, and any distributed trace that touches Elasticsearch shows the Elasticsearch spans inline alongside your application's spans.
Set up alerts
Proactive monitoring with alerts helps you catch issues before they impact your users. To create alert conditions in New Relic:
- Go to one.newrelic.com > Alerts > Alert Conditions
- Click Create condition
- Configure the alert using either Guided mode or the NRQL 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:
Additional monitoring alerts
These alerts help monitor performance and operational issues:
Next steps:
- Metrics reference: See the complete Elasticsearch OpenTelemetry metrics reference for all available metrics and their descriptions
- Explore metrics: All Elasticsearch metrics are stored as
Metricevent types - Create custom queries: Use NRQL to build custom charts and dashboards