# APM not showing logs in Transactions Page

**URL:** <https://discuss.elastic.co/t/apm-not-showing-logs-in-transactions-page/302251>\
**Category:** APM\
**Tags:** server\
**Created:** [April 12, 2022, 3:20pm UTC](https://discuss.elastic.co/t/apm-not-showing-logs-in-transactions-page/302251 "2022-04-12T15:20:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raushan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raushan/32/102180_2.png) [@Raushan](https://discuss.elastic.co/u/Raushan)\
**Post date:** [April 12, 2022, 3:20pm UTC](https://discuss.elastic.co/t/apm-not-showing-logs-in-transactions-page/302251/1 "2022-04-12T15:20:08Z")

</div>

**Kibana version** : 8.0.0

**Elasticsearch version** : 8.0.0

**APM Server version** : 8.0.0

**APM Agent language and version** : Java & 1.29.0

**Browser version** : Chrome

**Original install method (e.g. download page, yum, deb, from source, etc.) and version** : Downloaded

**Fresh install or upgraded from other version?** Fresh

**Is there anything special in your setup?** No

**Steps to reproduce** :  
I have deployed apm server, with ES and KB on Azure.  
I have Java app where i configured apm agent.  
From fluent bit I'm sending logs to ES  
I have transaction id in metadata of APM transaction and In Kibana we have logs for this transaction id, still it does n't show in APM logs

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/2/4271db21a363472c8b3fc42aa49fb1e712bc3920.png)  
Logs are formatted in [Introduction | ECS Logging Java Reference [1.x] | Elastic](https://www.elastic.co/guide/en/ecs-logging/java/1.x/intro.html)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1eaa1c3c1a3e339994c16e4ce4d0d63173c7c288.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/7/27073a0375e2a4d7f4cd4745d1d4d431e7766601.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/c/dc16016f4f6c7b2f5930adb4a315697d7f6c966f.png)

---

<div class="post-metadata">

**Author:** ![Jack\_Shirazi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_shirazi/32/91641_2.png) [@Jack\_Shirazi](https://discuss.elastic.co/u/Jack_Shirazi)\
**Post date:** [April 13, 2022, 1:18pm UTC](https://discuss.elastic.co/t/apm-not-showing-logs-in-transactions-page/302251/2 "2022-04-13T13:18:42Z")

</div>

Are you saying the logs are not present in the apm server, or that the logs are there but the transaction IDs are not in the log documents?

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [April 17, 2022, 5:58am UTC](https://discuss.elastic.co/t/apm-not-showing-logs-in-transactions-page/302251/3 "2022-04-17T05:58:30Z")

</div>

It looks like you managed to properly create ECS-compatible logs, but your fluentbit setup decorates log messages, nesting each ECS-compatible JSON within a `log` field, which makes it non-ECS.  
For example, if an ECS field like [`transaction.id`](https://www.elastic.co/guide/en/ecs/8.1/ecs-tracing.html#field-transaction-id) is now ingested as `log.transaction.id`, it is not ECS-compatible anymore.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 8, 2022, 1:59am UTC](https://discuss.elastic.co/t/apm-not-showing-logs-in-transactions-page/302251/4 "2022-05-08T01:59:07Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
