Unable to stream logs from AWS CloudWatch to New Relic Logs


I am using AWS lambda function to send the Cloudwatch logs streaming to newRelic.

I checked every configuration at AWS end it looks good,

I can see below response in AWS lambda function :

[DEBUG] 2021-06-24T11:30:42.018Z 4882c49f-e071-434e-a74f-ef6e56c7a4c4 Sending data to New Relic…

[INFO] 2021-06-24T11:30:42.344Z 4882c49f-e071-434e-a74f-ef6e56c7a4c4 Log entry sent. Response code: 202. url: https://cloud-collector.newrelic.com/aws/v1

[INFO] 2021-06-24T11:30:42.383Z 4882c49f-e071-434e-a74f-ef6e56c7a4c4 Log entry sent. Response code: 202. url: https://log-api.newrelic.com/log/v1

[DEBUG] 2021-06-24T11:30:42.383Z 4882c49f-e071-434e-a74f-ef6e56c7a4c4 Time elapsed to send to New Relic: 364.99ms

But still logs are not visible to newRelic Logs tab.
Can you please suggest what is the issue with this and I can do next to resolve this issue.

anyone aware on how I can fix this issue

Check that you have included all the required ENV variables shown in step 4 of our docs here:

If that’s fine, make sure that the lambda is subscribed to the correct log group for your logs.

I am also facing the same issue. @dhrjgpt2005, was it fixed for you? how?

Hi @atul.atri,

Welcome to the Community! I understand you are having the same issue with seeing your logs. Can you verify that you completed the steps @rstarnes suggested?

Let me know if this helps!

In our case, someone had created a log drop filter. Our issue resolved after we deleted that log drop filter.

1 Like