How to use Data Streaming with New Relic
Learn how to automatically stream logs and execution data from the Digibee Integration Platform to New Relic using an Ingest License Key.
How Data Streaming works with New Relic
Data Streaming sends logs and execution data from the Digibee Integration Platform to New Relic automatically. Unlike Splunk, which uses a HEC Token, New Relic receives the data through OTLP (OpenTelemetry Protocol), its native ingestion protocol. To authenticate the data, New Relic uses an Ingest License Key, the same key that any OpenTelemetry agent uses to send data to your account.
Before you begin
To set up Data Streaming with New Relic, you need:
The
data-streaming-managerrole: Only users with this role can create, update, read, and delete data streams. To learn more, read Roles.Access to a New Relic account: The account that will receive the data from the Digibee Integration Platform.
Step-by-step guide
Create an Ingest License Key in New Relic
In New Relic, click your account icon in the top-right corner and select API keys.
Click Create a key.
In Type, select Ingest - License. Don't use the User or Browser types. They have a different format, and this integration doesn't accept them.
Give the key a descriptive name, for example
digibee-<realm>, and confirm.Copy the key value from the banner at the top of the screen. A valid Ingest License Key has exactly 40 alphanumeric characters.
Configure Data Streaming on the Digibee Integration Platform
On the Digibee Integration Platform, click Settings in the top-right corner of the page.
In the Settings menu, click Data streaming.
Click Create.
In Vendor, select New Relic.
In Streaming type, select Logs, Executions, or both.
Fill in the connection details:
Host: The OTLP endpoint for your New Relic account region, without
https://. Useotlp.nr-data.netfor US accounts orotlp.eu01.nr-data.netfor EU accounts.API Key: The Ingest License Key you copied in Step 1.
Click Save.
View the data in New Relic
New Relic automatically creates a service entity for each distinct value of the service.name attribute it receives. Unlike Splunk and Datadog, New Relic has no manual filter to separate logs from executions.
Find the entities
In New Relic, go to APM & Services and select Services - OpenTelemetry. You should see one entity for each data type received, for example
pipeline-logsfor logs andcompleted-executionsfor executions.Click an entity.
Open the Logs tab to explore the data.
Confirm the data with a query
If an entity doesn't appear in the list yet, use NRQL (New Relic Query Language) in the Query Builder to confirm that the data arrived. The following query counts the execution records received in the last hour:
FROM Log SELECT count(*) WHERE service.name = 'completed-executions' SINCE 1 hour agoNew Relic creates an entity only after the first record with that service.name arrives. For executions, at least one pipeline execution must finish in the configured realm before the entity appears.
Troubleshooting
Data can take from a few seconds to a few minutes to appear in New Relic after you create the stream.
If the stream status on the Digibee Integration Platform shows down right after you create it, this is expected. The internal check only considers activity from the last 5 minutes. Run a pipeline execution and wait for the status to update.
If no data appears in New Relic after about 10 minutes of activity in the realm, check the NrIntegrationError table first. New Relic can accept the data and then reject it asynchronously. The following query lists the ingestion errors from the last hour:
SELECT * FROM NrIntegrationError SINCE 1 hour agoIf the cause is still unclear, contact the Digibee Support team.
Last updated
Was this helpful?