Sha256: c3cebc6abbab79a0623f7beb80942197d7e6bade865333927b40735b45abf4c7

Contents?: true

Size: 1.62 KB

Versions: 7

Compression:

Stored size: 1.62 KB

Contents

# fluent-plugin-newrelic

A [Fluentd](https://fluentd.org/) output plugin that sends logs to New Relic

This project is provided AS-IS WITHOUT WARRANTY OR SUPPORT, although you can report issues and contribute to the project here on GitHub.

## Prerequisites

Fluentd >= v1.0

## Installation
Add the plugin to your fluentd agent:

`fluent-gem install fluent-plugin-newrelic`

If you are using td-agent:

`td-agent-gem install fluent-plugin-newrelic`

For more info, review [Fluentd's official documentation](https://docs.fluentd.org/deployment/plugin-management).

## Configuration

### Required plugin configuration

| Property | Description |
|---|---|
| api_key | your New Relic API Insert key |

### Optional plugin configuration

| Property | Description | Default value |
|---|---|---|
| concurrent_requests | The number of threads to make requests from | 1 |
| retries | The maximum number of times to retry a failed request, exponentially increasing delay between each retry | 5 |
| retry_seconds | The initial delay between retries, in seconds | 5 |
| max_delay | The maximum delay between retries, in seconds | 30 |
| base_uri | New Relic ingestion endpoint | 'https://log-api.newrelic.com/log/v1' |

### Example

Add the following block to your Fluentd config file (with your specific New Relic Insights Insert key), then restart Fluentd.

Example:
```rb
<match **>
  @type newrelic
  api_key <NEW_RELIC_INSIGHTS_INSERT_KEY>
</match>
```

Getting your New Relic Insights Insert key:
`https://insights.newrelic.com/accounts/<ACCOUNT_ID>/manage/api_keys`

## Copyright

* Copyright(c) 2019 - New Relic
* License
  * Apache License, Version 2.0

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fluent-plugin-newrelic-1.0.0 README.md
fluent-plugin-newrelic-0.2.8 README.md
fluent-plugin-newrelic-0.2.7 README.md
fluent-plugin-newrelic-0.2.6 README.md
fluent-plugin-newrelic-0.2.5 README.md
fluent-plugin-newrelic-0.2.4 README.md
fluent-plugin-newrelic-0.2.3 README.md