Prerequisites
- Sawmills Collector
v1.1097.0or later - A pipeline with a New Relic source and New Relic destination
- The same New Relic ingest license key in the Infrastructure agent and New Relic destination
- Network access from the agent pods to the Sawmills HTTPS endpoint
newrelic-infrastructureHelm chart4.0.1or later
nri-bundle chart 7.0.4, which contains newrelic-infrastructure chart and nri-kubernetes image 4.0.1.
1. Enable the Infrastructure source
Edit the New Relic source and turn on Enable Infrastructure agent. Keep the default advanced paths and upstream URLs for the first test. The source configuration contains:2. Copy the correct collector endpoint
Open the collector details. In New Relic ingestion endpoints, copy the URL with type Infrastructure agent. The URL has this format:3. Configure nri-bundle
For thenri-bundle chart, add the three base URLs under newrelic-infrastructure.common.agentConfig. This shared configuration applies to the kubelet, KSM, and control-plane agent instances.
global.licenseKey or custom license secret configuration. Do not put the license key in this routing file.
Apply the values to the existing release:
7.0.4 is the validated target.
For more chart settings, see the New Relic Infrastructure chart values.
Direct agent environment variables
If you do not usenri-bundle, set these variables on every Infrastructure agent container:
/infra/v2/metrics/events/bulk/inventory/deltas/identity/v1/connect/agent_commands/v1/commands
Warning: If you set only NRIA_COLLECTOR_URL, identity or command traffic
can bypass Sawmills. Set all three variables.
4. Verify the rollout
Wait for all New Relic Infrastructure workloads to become ready. The release can include a kubelet DaemonSet, a control-plane DaemonSet, and a KSM Deployment.agent container. The KSM and control-plane pods use the forwarder container.
The tested agent did not send
/security/v1/connect. If your version sends this request, confirm that the collector proxies it without an error.
5. Verify data in New Relic
Run these NRQL queries after at least two reporting cycles:- Expected hosts appear in Infrastructure > Hosts.
- Expected cluster, node, pod, and container entities appear in the Kubernetes view.
- Event types and important fields match the direct-to-New-Relic baseline.
- Agent and collector logs do not contain
401,402, a full queue, or a continuous retry loop.
6. Test a processor change
First verify the route with no data reduction. Then add one processor change at a time.- Apply a sample rule to one high-volume, non-critical event type.
- Apply a field rule to one non-identity numeric field.
- Deploy the pipeline.
- Confirm that the expected hosts and Kubernetes entities remain.
- Confirm that only the selected samples or fields changed.
- Record the data-volume reduction.
Region rules
Keep the Sawmills endpoint in all three agent URL settings. The collector selects the New Relic US or EU service hosts from the license key.- A US license uses the US identity, command, inventory, and Infrastructure data hosts.
- An EU license uses the EU service hosts.
- The source agent key and destination key must belong to the same account and region.
- A custom advanced endpoint overrides automatic selection for that service.
Troubleshooting
Roll back
Usehelm rollback to restore the release that sent data directly to New Relic: