Skip to content

Commit e214d04

Browse files
Merge pull request #19262 from Tcohn1/Tcohn1-patch-1
new feature: adding custom tags (labels) to APM agent-forwarded logs
2 parents 82c97a9 + 13e1e46 commit e214d04

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: 'Add custom tags (labels) to application logs'
3+
tags:
4+
- Logs
5+
- Enable log management in New Relic
6+
- Logs in context
7+
- Tag
8+
- Labels
9+
metaDescription: For apps monitored by New relic language agents, learn how to add custome tags (labels) to logs.
10+
redirects:
11+
- /docs/enable-logs-context
12+
- /docs/apm/agents/net-agent/configuration/net-agent-configuration
13+
- /docs.newrelic.com/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration/
14+
- /docs/logs/new-relic-logs/enable-logs-context/enable-logs-context-go
15+
freshnessValidatedDate: never
16+
---
17+
18+
New Relic APM language agents now allow you to opt-in to adding your custom tags (labels) to agent-forwarded logs.
19+
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.
20+
21+
## Enable custom tags (labels) on application logs
22+
23+
When enabled, New Relic language agents add all custom tags (labels) to agent-forwarded logs.
24+
25+
Supported languages:
26+
27+
* [.NET](/docs/apm/agents/net-agent/configuration/net-agent-configuration)
28+
* [Ruby](/docs.newrelic.com/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration/)
29+
* Go: coming soon
30+
* Java: coming soon
31+
* Node.js: coming soon
32+
* PHP: coming soon
33+
* Python: coming soon

src/nav/logs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ pages:
6464
path: /docs/logs/logs-context/logs-in-context
6565
- title: APM logs in context
6666
path: /docs/logs/logs-context/get-started-logs-context
67+
- title: Add custom tags (labels) to application logs
68+
path: /docs/logs/logs-context/custom-tags-agent-forwarder-logs
6769
- title: Manage or disable APM logs
6870
path: /docs/logs/logs-context/disable-automatic-logging
6971
- title: "C SDK: logs in context"

0 commit comments

Comments
 (0)