0

I had the thought of creating a custom Nlog target to send logs to CloudWatch Logs, seems straightforward enough but when I run my tests locally I get the following error - "WebException: The remote name could not be resolved: 'logs.eu-west.amazonaws.com'"

Can I send logs to CloudWatch Logs from applications running outside EC2?

Keir
  • 483
  • 3
  • 10

1 Answers1

1

You configured your CloudWatch endpoint incorrectly. It should be: logs.eu-west-1.amazonaws.com

Amazon CloudWatch Regions

helloV
  • 50,176
  • 7
  • 137
  • 145
  • Good spot in terms of the region name! On the 2nd point - it seems I can send logs from anywhere using the SDK. – Keir Mar 14 '16 at 13:55