diff --git a/docs/reference/nlog.md b/docs/reference/nlog.md index 5cf0de548..cc5c7ae30 100644 --- a/docs/reference/nlog.md +++ b/docs/reference/nlog.md @@ -30,3 +30,22 @@ In order to use them, you need to add the [Elastic.Apm.NLog](https://www.nuget.o As you can see in the sample file above, you can reference the current transaction id with `${ElasticApmTransactionId}` and the trace id with `${ElasticApmTraceId}`. +## Alternate [alternate] + +Rather than using a Layout Renderer such as `jsonlayout`, you may specify the Trace and Transaction ID in the Target Layout: + +```xml + + + + + + + + + + + +```