Skip to content

Commit

Permalink
Merge pull request #19262 from Tcohn1/Tcohn1-patch-1
Browse files Browse the repository at this point in the history
new feature: adding custom tags (labels) to APM agent-forwarded logs
  • Loading branch information
adutta-newrelic authored Nov 18, 2024
2 parents 82c97a9 + 13e1e46 commit e214d04
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: 'Add custom tags (labels) to application logs'
tags:
- Logs
- Enable log management in New Relic
- Logs in context
- Tag
- Labels
metaDescription: For apps monitored by New relic language agents, learn how to add custome tags (labels) to logs.
redirects:
- /docs/enable-logs-context
- /docs/apm/agents/net-agent/configuration/net-agent-configuration
- /docs.newrelic.com/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration/
- /docs/logs/new-relic-logs/enable-logs-context/enable-logs-context-go
freshnessValidatedDate: never
---

New Relic APM language agents now allow you to opt-in to adding your custom tags (labels) to agent-forwarded logs.
With custom tags on logs, DevOps and platform engineers can filter, search, and correlate log data for faster and more efficient troubleshooting, improved performance, and optimized resource utilization.

## Enable custom tags (labels) on application logs

When enabled, New Relic language agents add all custom tags (labels) to agent-forwarded logs.

Supported languages:

* [.NET](/docs/apm/agents/net-agent/configuration/net-agent-configuration)
* [Ruby](/docs.newrelic.com/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration/)
* Go: coming soon
* Java: coming soon
* Node.js: coming soon
* PHP: coming soon
* Python: coming soon
2 changes: 2 additions & 0 deletions src/nav/logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ pages:
path: /docs/logs/logs-context/logs-in-context
- title: APM logs in context
path: /docs/logs/logs-context/get-started-logs-context
- title: Add custom tags (labels) to application logs
path: /docs/logs/logs-context/custom-tags-agent-forwarder-logs
- title: Manage or disable APM logs
path: /docs/logs/logs-context/disable-automatic-logging
- title: "C SDK: logs in context"
Expand Down

0 comments on commit e214d04

Please sign in to comment.