---
sidebar_label: NewRelic
doc_id: 6ccc7446-d6ce-4a56-a261-e926588b5a37
description: >-
  Configuration schema for NewRelic logs integration with API credentials and
  custom settings.
keywords:
  - NewRelic
  - logs
  - API configuration
  - monitoring
  - observability
title: NewRelic
canonical: >-
  https://docs.nullplatform.com/docs/providers/supported-integrations/logging/newrelic-logs-configuration
---
# NewRelic

Defines the configuration for NewRelic logs

**Type**: `newrelic-logs-configuration`

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|[**credentials**](#credentials)<br/>(API Credentials)|`object`||yes|
|[**configurations**](#configurations)<br/>(Custom configs)|`object`||no|

**Additional Properties:** not allowed  
**Example**

```json
{
    "credentials": {
        "account": "efgh4567",
        "api_key": "abcd1234",
        "ingestion_api_key": "abcd1234"
    },
    "configurations": {
        "site": "api.newrelic.com"
    }
}
```

<a name="credentials"></a>
## credentials: API Credentials

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**account**<br/>(Account id)|`string`|The NewRelic account id<br/>Minimal Length: `5`<br/>|yes|
|**api\_key**|`string`|The API key used to authenticate requests to NewRelic API for logs reading. (It must be an Insight Api Key)<br/>Minimal Length: `1`<br/>|yes|
|**ingestion\_api\_key**|`string`|The API key used to authenticate requests to NewRelic API for logs ingesting. (It must be a License Api Key)<br/>Minimal Length: `1`<br/>|no|

**Example**

```json
{
    "account": "efgh4567",
    "api_key": "abcd1234",
    "ingestion_api_key": "abcd1234"
}
```

<a name="configurations"></a>
## configurations: Custom configs

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**site**|`string`|Provide site when your data is not on the default newrelic region<br/>Minimal Length: `1`<br/>|no|

**Example**

```json
{
    "site": "api.newrelic.com"
}
```

