From c09d4471fdbbbe216422239a07b92d71e77a92b2 Mon Sep 17 00:00:00 2001 From: mehreentahir16 Date: Sun, 17 Oct 2021 11:36:37 +0100 Subject: [PATCH 1/2] chore: updated insights key term to license key --- .../collect-data/collect-data-from-any-source.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/markdown-pages/collect-data/collect-data-from-any-source.mdx b/src/markdown-pages/collect-data/collect-data-from-any-source.mdx index cd1fdd11f..2e59daf31 100644 --- a/src/markdown-pages/collect-data/collect-data-from-any-source.mdx +++ b/src/markdown-pages/collect-data/collect-data-from-any-source.mdx @@ -65,7 +65,7 @@ Our [Trace API](https://docs.newrelic.com/docs/apm/distributed-tracing/trace-api ```shell lineNumbers=true curl -i -X POST https://trace-api.newrelic.com/trace/v1 \ -H "Content-Type: application/json" \ - -H "Api-Key: $INSIGHTS_INSERT_API_KEY" \ + -H "Api-Key: $LICENSE_KEY" \ -H 'Data-Format: newrelic' \ -H 'Data-Format-Version: 1' \ -d '[ @@ -112,7 +112,7 @@ You can use our [Metric API](https://docs.newrelic.com/docs/introduction-new-rel ```shell lineNumbers=true curl -i -X POST https://metric-api.newrelic.com/metric/v1 \ -H "Content-Type: application/json" \ - -H "Api-Key: $INSIGHTS_INSERT_API_KEY" \ + -H "Api-Key: $LICENSE_KEY" \ -d '[ { "metrics": [ @@ -141,7 +141,7 @@ For sending arbitrary events to New Relic, you can use our Event API. We save th ```shell lineNumbers=true curl -i -X POST https://insights-collector.newrelic.com/v1/accounts/$ACCOUNT_ID/events \ -H "Content-Type: application/json" \ - -H "x-insert-key: $INSIGHTS_INSERT_API_KEY" \ + -H "x-insert-key: $LICENSE_KEY" \ -d '[ { "eventType": "LoginEvent", @@ -162,7 +162,7 @@ If our existing [logging integrations](https://docs.newrelic.com/docs/new-relic- ```shell lineNumbers=true curl -i -X POST https://log-api.newrelic.com/log/v1 \ -H "Content-Type: application/json" \ - -H "Api-Key: $INSIGHTS_INSERT_API_KEY" \ + -H "Api-Key: LICENSE_KEY" \ -d '[ "logs": [ { From 60c85263b024c0a6171cca7c73b82e104356bdcd Mon Sep 17 00:00:00 2001 From: Mehreen Tahir Date: Tue, 19 Oct 2021 10:23:35 +0100 Subject: [PATCH 2/2] Update collect-data-from-any-source.mdx --- .../collect-data/collect-data-from-any-source.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown-pages/collect-data/collect-data-from-any-source.mdx b/src/markdown-pages/collect-data/collect-data-from-any-source.mdx index 2e59daf31..770b4ab05 100644 --- a/src/markdown-pages/collect-data/collect-data-from-any-source.mdx +++ b/src/markdown-pages/collect-data/collect-data-from-any-source.mdx @@ -162,7 +162,7 @@ If our existing [logging integrations](https://docs.newrelic.com/docs/new-relic- ```shell lineNumbers=true curl -i -X POST https://log-api.newrelic.com/log/v1 \ -H "Content-Type: application/json" \ - -H "Api-Key: LICENSE_KEY" \ + -H "Api-Key: $LICENSE_KEY" \ -d '[ "logs": [ {