• EnglishEspañol日本語한국어Português
  • Log inStart now

Kubernetes plugin for log forwarding

New Relic's Kubernetes plugin for log forwarding simplifies sending logs from your cluster to New Relic logs. It uses a standalone Docker image and runs as a DaemonSet, seamlessly collecting logs for centralized analysis and troubleshooting. Forwarding your Kubernetes logs to New Relic will give you enhanced l capabilities to collect, process, explore, query, and alert on your log data.

Enable Kubernetes for log management

To forward your Kubernetes logs to New Relic with our plugin:

  1. Install the New Relic Kubernetes integration following the steps from this page. This integration includes the Kubernetes plugin for logs.

  2. Optionally, you can further tune your installation in Step 4 from the guided install using the numerous configuration options available in the newrelic-logging repository. However, we recommend the standard setup, as it is valid for most users.


    If you're using a Kubernetes secret to store the New Relic license key, the newrelic-logging chart defaults to sending logs to the US API endpoint. If the license key belongs to an EU or FedRAMP account, and a secret is used for key storage, you must update the endpoint setting with the appropriate value from the API reference docs. Here's an example of how to set this for EU accounts:

    enabled: true
    endpoint: https://log-api.eu.newrelic.com/log/v1
  3. Generate some traffic and wait a few minutes, then check your account for data.

Did this doc help with your installation?

View log data

If everything is configured correctly and your data is being collected, you should see log data in both of these places:


If no data appears after you enable our log management capabilities, follow our standard log troubleshooting procedures.

What's next?

Explore logging data across your platform with our logs UI.

Disable log forwarding

To disable log forwarding capabilities, you can uninstall the Kubernetes plugin by following the steps outlined here. You do not need to do anything else in New Relic.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.