- Newest
- Most votes
- Most comments
Based on the error you're seeing, it appears that your Firehose delivery stream is successfully connecting to the New Relic endpoint but is receiving a 403 Forbidden response. This indicates a permissions issue rather than a connectivity problem.
The "HttpEndpointDestinationException" with a 403 status code suggests that the access key you've configured for your Firehose stream doesn't have sufficient permissions to deliver data to the New Relic endpoint. Even though you can access the API endpoint through curl using the same API key, there might be differences in how Firehose is formatting or sending the request.
Here are some troubleshooting steps to consider:
-
Verify the format of your API key in the Secret Manager. The format you provided (
{"api_key": "NRAK-"}) looks correct, but ensure the full API key is included and properly formatted. -
Check if the New Relic API key has the correct permissions to ingest metrics data. Some API keys might be read-only or have limited scopes.
-
Review the content encoding and format settings in your Firehose configuration to ensure they match what New Relic expects.
-
If you're using a Lambda function for data transformation before delivery, verify that it's formatting the data correctly for New Relic's API.
-
Check if there are any specific headers or request parameters that New Relic requires that might not be included in your Firehose configuration.
Since you mentioned that changing the secret results in a different error, the connection to Secret Manager is working correctly. The issue appears to be with the authorization or format of the data being sent to New Relic.
Sources
Troubleshooting HTTP Endpoints - Amazon Data Firehose
Relevant content
asked 3 years ago
