# Kibana - APM UI - selected trace cannot be found

**URL:** <https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030>\
**Category:** APM\
**Tags:** ui\
**Created:** [March 23, 2021, 2:55am UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030 "2021-03-23T02:55:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandra2037](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandra2037/32/72142_2.png) [@chandra2037](https://discuss.elastic.co/u/chandra2037)\
**Post date:** [March 23, 2021, 2:55am UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030/1 "2021-03-23T02:55:33Z")

</div>

Hi,

Elasticsearch - v7.10.1  
Kibana - V7.10.1  
APM Server - V7.10.1

For some of the transactions in APM UI - Kibana is not showing the trace information, but instead it is showing the following message

`The selected trace cannot be found`

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

This is happening for some traces (trace.id).

Eg:  
trace.id : "41aa516af6a4a36286fa52c3a4889b75"  
Number of transactions - **179,161**  
Number of spans - **5,022**

This trace involves multiple services

The following table shows the top transactions with the number of spans. One transaction has 500 spans and all other has 15 or less spans

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

Any help will be appreciated

---

<div class="post-metadata">

**Author:** ![dgieselaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dgieselaar/32/46947_2.png) [@dgieselaar](https://discuss.elastic.co/u/dgieselaar)\
**Post date:** [March 23, 2021, 8:25am UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030/2 "2021-03-23T08:25:01Z")

</div>

Hi @chandra2037! This could happen if:

- you have a transaction/trace id in the query parameters in the URL that is not available in the current time range
- there are no sampled transactions matching the selected bucket or the query parameters

Also, do you mean that one trace has 179k transactions? That seems suspicious. What kind of trace is it?

---

<div class="post-metadata">

**Author:** ![chandra2037](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandra2037/32/72142_2.png) [@chandra2037](https://discuss.elastic.co/u/chandra2037)\
**Post date:** [March 23, 2021, 12:26pm UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030/3 "2021-03-23T12:26:15Z")

</div>

@dgieselaar Thank you for your response.

When I filter on trace.id : "41aa516af6a4a36286fa52c3a4889b75" within last 3 days (this trace happened around 03/22/2021 4:33 AM EST), getting the results (listing all services) as shown below

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

When I enter into any particular service (eg: "role"), by keeping the traceid filter and same time range, it is showing following transactions

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

Now when I enter into any particular transaction, lets say `SecurityApiController#getSecurity`, again keeping the same filter and time range, traces are not showing up

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

This trace belongs to a async process.

---

<div class="post-metadata">

**Author:** ![Parani\_Kumar](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@Parani\_Kumar](https://discuss.elastic.co/u/Parani_Kumar)\
**Post date:** [April 12, 2021, 2:26pm UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030/4 "2021-04-12T14:26:31Z")

</div>

Hi - My team is also facing the same problem, any suggestion on how to fix this issue "The selected trace cannot be found"? Pls advise.

Thanks,  
Parani.

---

<div class="post-metadata">

**Author:** ![Parani\_Kumar](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@Parani\_Kumar](https://discuss.elastic.co/u/Parani_Kumar)\
**Post date:** [April 13, 2021, 1:07am UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030/5 "2021-04-13T01:07:00Z")

</div>

Hi @chandra2037 and @dgieselaar - Tagging to see if you have any resolution for this issue as my team is also facing the same problem.

Many thanks in advance.

---

<div class="post-metadata">

**Author:** ![chandra2037](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandra2037/32/72142_2.png) [@chandra2037](https://discuss.elastic.co/u/chandra2037)\
**Post date:** [April 13, 2021, 2:02am UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030/6 "2021-04-13T02:02:24Z")

</div>

@Parani_Kumar

Not really. For us, this issue is happening for some of the traces.  
what about you? Is this happening for all the traces/transactions?

---

<div class="post-metadata">

**Author:** ![Parani\_Kumar](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@Parani\_Kumar](https://discuss.elastic.co/u/Parani_Kumar)\
**Post date:** [April 13, 2021, 2:31am UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030/7 "2021-04-13T02:31:22Z")

</div>

Hi @chandra2037 - Some traces for us as well, there are services which provides full transaction and traces. I had requested my team to generate more traffic for the same service which we are encountering "selected trace cannot be found" msg. Not sure how far this will help but this is happening only for some transactions. I will keep you posted the outcome. Thanks for your response!

Thanks,  
Parani.

---

<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 11, 2021, 2:32am UTC](https://discuss.elastic.co/t/kibana-apm-ui-selected-trace-cannot-be-found/268030/8 "2021-05-11T02:32:12Z")

</div>

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