New Relic Log API

Send log data from anywhere

If our existing logging integrations don’t meet your needs, you can use the Log API to send any arbitrary log data to New Relic.

   POST /log/v1 HTTP/1.1
   Host: log-api.newrelic.com
   Content-Type: application/json
   X-Insert-Key: <YOUR_INSIGHTS_INSERT_KEY>
   Accept: */*
   Content-Length: 133
   {
     "timestamp": 1550086450124,
     "message": "User 'xyz' logged in",
     "service": "login-service",
     "hostname": "login.example.com"
   }