The New Relic Elasticsearch integration uses the OpenTelemetry Collector to monitor your Elasticsearch clusters through a single, vendor-neutral pipeline, so you're not maintaining separate agents or exporters for metrics and logs. Once connected, you can tell whether a cluster is healthy, catch problems before they cause an outage, and correlate what you see in Elasticsearch with the rest of your stack in New Relic.
Capabilities
- Metrics: cluster health, shard distribution, node and JVM performance, and host resource utilization (CPU, memory, disk, network)
- Logs: Elasticsearch server logs, correlated with the same cluster and node metadata as your metrics
- Distributed tracing: correlate your APM applications with the Elasticsearch cluster they call, using Elasticsearch's native OpenTelemetry traces. See Correlate APM with Elasticsearch using distributed tracing.
Choose your install path
Self-hosted: for Elasticsearch running directly on servers or VMs.
- NRDOT (recommended): New Relic's distribution of the OpenTelemetry Collector; the most direct path if you have no existing collector.
- OTel Collector Contrib: the community OpenTelemetry Collector distribution; pick this if your environment already standardizes on it.
- Prometheus receiver: pick this only if you already run a Prometheus Elasticsearch exporter and want to reuse it rather than connect a collector directly to Elasticsearch.
Kubernetes: for Elasticsearch running in a Kubernetes cluster, with automatic pod discovery.
- NRDOT (recommended): New Relic's distribution of the OpenTelemetry Collector; the most direct path if you have no existing collector. Choose manifest install if you've already completed the base Kubernetes OpenTelemetry manifest installation, or Helm install for a simpler, single-command deployment.
- OTel Collector Contrib: the community OpenTelemetry Collector distribution; pick this if your environment already standardizes on it.
- Prometheus receiver: same condition as above: only if you're already running the exporter in-cluster.
Guided install
To install this through the New Relic UI instead, go to one.newrelic.com > Integrations & Agents > Elasticsearch (OpenTelemetry Collector). Follow the on-screen instructions to set up the integration.
Installation at a glance
- Check compatibility and gather prerequisites
- Set up the collector
- Apply the minimum configuration
- Restart the collector
- Verify data is flowing to New Relic
Next: install and configure
Pick the combination that matches your environment: