README.md in fluent-plugin-newrelic-1.1.3 vs README.md in fluent-plugin-newrelic-1.1.4

- old
+ new

@@ -21,13 +21,16 @@ ## Configuration ### Required plugin configuration +Exactly one of the following: + | Property | Description | |---|---| | api_key | your New Relic API Insert key | +| license_key | your New Relic License key | ### Optional plugin configuration | Property | Description | Default value | |---|---|---| @@ -43,21 +46,35 @@ renamed to `message`, overwriting any `message` field. Kubernetes logs have their messages in a `log` field, while we want messages in a `message` field. ### Example -Add the following block to your Fluentd config file (with your specific New Relic Insights Insert key), then restart Fluentd. +Add one of the following blocks to your Fluentd config file (with your specific key), then restart Fluentd. -Example: +#### Using Insights Inserts Key + +Example using Insights Insert key: ```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` + +#### Using License Key +Example using License key: +```rb +<match **> + @type newrelic + license_key <NEW_RELIC_LICENSE_KEY> +</match> +``` + +Getting your New Relic license key: +`https://rpm.newrelic.com/accounts/<ACCOUNT_ID>` ## Copyright * Copyright(c) 2019 - New Relic * License