Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
out_nrlogs: wrap output in an array to match the API
While the current format will send the data successfully, New Relic interprets the whole payload as a stringified array. By sending as an array, we meet the New Relic MELT API spec, and are able to distinguish individual key/values from the payload. Sample spec can be seen here: https://docs.newrelic.com/docs/logs/new-relic-logs/log-api/introduction-log-api#log-attribute-examples Signed-off-by: Julian Giuca <[email protected]>
- Loading branch information