Company
Date Published
Author
Steve Ng, Senior Manager, Developer Relations
Word count
2428
Language
English
Hacker News points
None

Summary

To ensure logs are correctly forwarded to New Relic, it's essential to establish network connectivity between your environment and New Relic domains, verify that you have selected a supported log forwarder, and send troubleshooting logs. This involves checking for proper permissions, verifying infrastructure agent connectivity, accessing designated log files and services, implementing appropriate log parsing, and avoiding issues with invalid JSON format or "stringified" JSON content. By following these five tips, you can gain valuable insights into your application behavior and quickly identify potential issues, allowing you to troubleshoot and verify your log forwarding configurations effectively.