# Trace logs in APM does not shows log due to sourceId=logs

**URL:** <https://discuss.elastic.co/t/trace-logs-in-apm-does-not-shows-log-due-to-sourceid-logs/269568>\
**Category:** APM\
**Tags:** ui\
**Created:** [April 8, 2021, 9:31am UTC](https://discuss.elastic.co/t/trace-logs-in-apm-does-not-shows-log-due-to-sourceid-logs/269568 "2021-04-08T09:31:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lancer\_enkor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lancer_enkor/32/77527_2.png) [@lancer\_enkor](https://discuss.elastic.co/u/lancer_enkor)\
**Post date:** [April 8, 2021, 9:31am UTC](https://discuss.elastic.co/t/trace-logs-in-apm-does-not-shows-log-due-to-sourceid-logs/269568/1 "2021-04-08T09:31:51Z")

</div>

**Kibana version** : 7.8.0

**Elasticsearch version** : 7.8.0

**APM Server version** : 7.8.0

**APM Agent language and version** : Java&Js latest

**Browser version** : Latest Chrome

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

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

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

I have a problem with showing the logs via trace logs button in apm.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef570eab6bc2d826a845dc3d334eda0539277553.png)

It will generate this query: `https://localhost:5601/s/aaa/app/logs/stream?logPosition=(end:%272021-04-08T08:48:23.872Z%27,position:(tiebreaker:0,time:1617868103872),start:%272021-04-08T06:48:23.872Z%27,streamLive:!f)&sourceId=logs&logFilter=(expression:%27trace.id:%22682eccf92aaf2383f5d71508990bd7aa%22%20OR%20682eccf92aaf2383f5d71508990bd7aa%27,kind:kuery)`

And result is that I don't have any logs available.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/e/ee6a0b636452128b8b9e987c4aafa37558c4784b.png)

I was able to found that the problem is this part `sourceId=logs`. If I will delete it from query then everything works as expected.

However, I was not able to found how should I configure it. I tried this setting without success.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/b/7ba58684e10ce74533a5930d25249d3929d8de11.png)

Is it a bug in this version or I'm missing something?

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [April 12, 2021, 9:16am UTC](https://discuss.elastic.co/t/trace-logs-in-apm-does-not-shows-log-due-to-sourceid-logs/269568/2 "2021-04-12T09:16:11Z")

</div>

Hi there,

Thanks for reaching out. This was fixed in 7.10 via [[Logs UI] Remove apollo deps from log link-to routes by weltenwort · Pull Request #74502 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/74502).  
If you can upgrade that should fix the issue.

---

<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 3, 2021, 5:16am UTC](https://discuss.elastic.co/t/trace-logs-in-apm-does-not-shows-log-due-to-sourceid-logs/269568/3 "2021-05-03T05:16:21Z")

</div>

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