Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configurable region for new relic sink #37

Merged
merged 1 commit into from
Feb 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ One of these is required for New Relic logs. New Relic recommend the license key
| ----------------------- | -------------------------------- |
| `NEW_RELIC_INSERT_KEY` | (optional) New Relic Insert key |
| `NEW_RELIC_LICENSE_KEY` | (optional) New Relic License key |
| `NEW_RELIC_REGION` | (optional) eu or us (default us) |
| `NEW_RELIC_ACCOUNT_ID` | New Relic Account Id |

### Papertrail

Expand Down
8 changes: 5 additions & 3 deletions vector-configs/sinks/new_relic.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[sinks.new_relic]
# General
type = "new_relic_logs"
type = "new_relic"
inputs = ["log_json"]
compression = "gzip"

compression = "gzip"
region = "${NEW_RELIC_REGION}"
account_id = "${NEW_RELIC_ACCOUNT_ID}"
api = "logs"