Skip to content

Commit

Permalink
fix(Peer review): Incorporated edits
Browse files Browse the repository at this point in the history
  • Loading branch information
barbnewrelic committed Apr 11, 2022
1 parent b496c14 commit 26bf354
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import ApmLic5040622 from 'images/apm-lic5-040622.png'

When you're troubleshooting an issue in your app or host, you need all the New Relic tools at your fingertips. But you don't want to do a lot of context switching across the UI or be overwhelmed by the wealth of information available.

Our APM agents can automatically add that identifier to application log data, which makes using logs in context extremely easy. Applications can also use the agent to forward log data directly to New Relic.
Our APM agents can automatically add relevant attributes to your application log data. This makes using logs in context extremely easy. Applications can also use the agent to forward log data directly to New Relic.

Logs are more valuable in the context of the application, transaction, or error they belong to. Using our logs in context functionality will change the way you troubleshoot by giving you visibility of logs from your applications, distributed traces, and errors directly in APM.

Expand All @@ -34,15 +34,15 @@ Logs are more valuable in the context of the application, transaction, or error
Drill down into your logs, traces, and errors, all from the APM **Summary** page in New Relic.
</figcaption>

Learn more about the power of automatic logs in context with our [example](#response-time-example) of how an engineering team used it to troubleshoot their app's poor response time and rising error rates.
Learn more about the [power of automatic logs in context](#response-time-example). The example describes how an engineering team used it to troubleshoot their app's poor response time and rising error rates.

## Get started [#get-started]

To set up APM logs in context:

1. If you don't have one already, [create a New Relic account](https://newrelic.com/signup). It's free, forever.
2. Update to the [supported agent version](#agents) for your apps and hosts.
3. [Enable](#agents) logs for your agent, and make a few small updates to the configuration file.
3. [Enable logs for your agent](#agents), and make a few small updates to the configuration file.

That's it! Start troubleshooting your applications with APM logs in context in New Relic:

Expand All @@ -64,7 +64,7 @@ If your APM agent doesn't support our automatic logs in context solution yet, yo
## Ensure data privacy [#data-privacy]

<Callout variant="caution">
You control what log data is sent to New Relic, so be sure to follow your organization's security guidelines to mask, obfuscate, or prevent sending PII, PHI, or any other sensitive data.
You control what log data is sent to New Relic, so be sure to follow your organization's security guidelines to mask, obfuscate, or prevent sending personal identifiable information (PII), protected health information (PHI), or any other sensitive data.
</Callout>

Our log ingest pipeline automatically masks credit cards, Social Security numbers, national IDs, etc. For more information, see our [security documentation](/docs/logs/get-started/new-relics-log-management-security-privacy) for log management.
Expand Down Expand Up @@ -125,7 +125,7 @@ To avoid any surprises, we recommend that you use [NRQL queries](/docs/accounts/
</Collapser>
</CollapserGroup>

## The power of logs in context [#response-time-example]
## Example: The power of logs in context [#response-time-example]

Here is a detailed use case of using APM logs in context to get to the root cause of a problem.

Expand All @@ -148,7 +148,7 @@ To start troubleshooting, they go to the New Relic UI.

**How can they quickly decide what's related to the problem?**

They have not set up log collection. But the Java agent for their app has been recently updated to include APM logs in context, so the app now automatically receives logs and linking metadata. The metrics facet the count by log severity set by the Java agent's built-in log decorating capabilities.
They have not set up log collection. But the Java agent for their app has been recently updated to include APM logs in context, so the app now automatically receives logs and linking metadata. The metrics that appear in the UI facet the count by log severity. (This is set by the Java agent's built-in log decorating capabilities.)

<img
title="APM related entity logs in UI"
Expand Down

0 comments on commit 26bf354

Please sign in to comment.