Starting on November 3rd, 2022, when you update our Go or PHP APM language agents you will automatically send enriched application logs to New Relic. This expands on the support we previously announced for Java, .NET, and Ruby, and for Node.js and Python earlier this year. All of these agents will support automatically adding context and log forwarding without the need to install or maintain third-party software, with the option to Opt-out anytime.
Developers working with Go and PHP will now gain the same ability to automate the collection of logs in their applications, reducing toil with manual collection processes and improving the efficiency of troubleshooting issues with their applications.
Remember, application logs in APM are only available after an agent update. Until you update your agent, you will see no changes in your account.
Our support for automatic logs in context with Go and PHP begins with these agent releases:
- Go agent v3.17.0 or higher
- PHP agent v10.1.0 or higher
For information on our latest APM agents that support automatic logs in context go here.
Collecting application logs means that more data will be ingested into the platform, at your standard ingest rate. The APM agent samples logs to ensure optimal agent performance. You can always increase or decrease an application’s log volume as desired, and you always have direct control over which data you send to New Relic. As a reminder, we include robust support for the following to help ensure security, compliance, and control:
Ingest control: Use in-agent log sampling to manage ingested volume and avoid duplicating ingest and get 3X more value than alternate log management solutions.
Data security: Mask, obfuscate, and prevent sending PII, PHI, or any other sensitive data via customizable security configurations.
Using third-party log forwarders?: We recommend only using manual OR automatic log forwarding to avoid duplicating log data. For more information, check out this documentation.