If you have completed the Elasticsearch OpenTelemetry integration installation but don't see data in New Relic, find your issue below and follow the solution steps.
How to check
$sudo systemctl status otelcol-contribResolution
If the service is inactive, start it:
sudo systemctl start otelcol-contribIf the service failed, fix configuration errors and restart:
sudo systemctl restart otelcol-contrib
How to check
$sudo journalctl -u otelcol-contrib.service -fResolution
Review the log output and resolve the root cause (for example, connection problems, authentication failures, or permission issues).
Error sample: dial tcp [::1]:9200: connect: connection refused
Resolution
Ensure the
endpointinconfig.yamlmatches the Elasticsearch host and port.Confirm Elasticsearch is running and reachable from the collector host.
Error sample: permanent error: 403 Forbidden
Resolution
Verify
NEWRELIC_LICENSE_KEYin/etc/systemd/system/otelcol-contrib.service.d/environment.conf.Reload systemd and restart the collector:
bash$sudo systemctl daemon-reload$sudo systemctl restart otelcol-contrib
Error sample: permission denied or cannot open file
Resolution
Add the collector user to the Elasticsearch group:
bash$sudo usermod -a -G elasticsearch otelcol-contribRestart the collector:
sudo systemctl restart otelcol-contrib
How to check
$# Unsecured cluster$curl -I http://localhost:9200$
$# With authentication$curl -u username:password -k https://localhost:9200Resolution
Verify the cluster is healthy, credentials are valid, and firewall or security settings permit access.
Resolution
Ensure the
resourcedetectionprocessor is included in every metrics pipeline.Verify
elasticsearch.cluster.nameis set via theresource/cluster_name_overrideprocessor.
Resolution
Confirm
filelogreceiver paths are correct and absolute.Check that the logs pipeline includes both the
filelogreceiver and theotlphttpexporter.