# .NET Core NLog correlation not showing when using Auto Instrumentation (Profiler) or Zero code change (startup hook)

**URL:** <https://discuss.elastic.co/t/net-core-nlog-correlation-not-showing-when-using-auto-instrumentation-profiler-or-zero-code-change-startup-hook/319089>\
**Category:** APM\
**Tags:** dotnet, language-clients\
**Created:** [November 16, 2022, 2:28pm UTC](https://discuss.elastic.co/t/net-core-nlog-correlation-not-showing-when-using-auto-instrumentation-profiler-or-zero-code-change-startup-hook/319089 "2022-11-16T14:28:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![karpediemnow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karpediemnow/32/113241_2.png) [@karpediemnow](https://discuss.elastic.co/u/karpediemnow)\
**Post date:** [December 27, 2022, 9:27am UTC](https://discuss.elastic.co/t/net-core-nlog-correlation-not-showing-when-using-auto-instrumentation-profiler-or-zero-code-change-startup-hook/319089/3 "2022-12-27T09:27:41Z")

</div>

No replies 😕 other users have the same problem

> [@.NET Core API Log correlation not showing in transactions](https://discuss.elastic.co/t/net-core-api-log-correlation-not-showing-in-transactions/293747):
>
> Hi I'm trying to make log correlation work on my NET Core API. I'm using NLog following the documentation. I'm getting the traceID and transactionID in the logs in my console and logfile but I have zero logs in any APM Transactions. What am I missing? Here is my NLog config \<?xml version="1.0" encoding="utf-8" ?\> \<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nlog-project…

I'm start thinking that kibana stack isn't the best tools for monitoring .net core applications...

Hope I'm wrong

Best Regards

---

_[View the full topic](https://discuss.elastic.co/t/net-core-nlog-correlation-not-showing-when-using-auto-instrumentation-profiler-or-zero-code-change-startup-hook/319089)._
