I am trying to push the data from SQL DB to Insights. So I have created a JSON file with SQL DB data. To insert the API key where should I save my JSON file (example_events.json) from below curl command.
cat example_events.json | curl -d @- -X POST -H "Content-Type: application/json" -H "X-Insert-Key: ******-W8nG-h9" https://insights-collector.newrelic.com/v1/accounts/XXX/events
Appreciate your help