# Wrong transaction names APM Kibana

**URL:** <https://discuss.elastic.co/t/wrong-transaction-names-apm-kibana/324038>\
**Category:** APM\
**Tags:** rum\
**Created:** [January 26, 2023, 3:41pm UTC](https://discuss.elastic.co/t/wrong-transaction-names-apm-kibana/324038 "2023-01-26T15:41:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaetano](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@gaetano](https://discuss.elastic.co/u/gaetano)\
**Post date:** [January 26, 2023, 3:41pm UTC](https://discuss.elastic.co/t/wrong-transaction-names-apm-kibana/324038/1 "2023-01-26T15:41:38Z")

</div>

**Kibana version** :  
8.5.2  
**Elasticsearch version** :  
8.5.2  
**APM Server version** :  
8.6  
**APM Agent language and version** :  
APM Real User Monitoring JavaScript Agent. Angular Integration. 5.x

I can't see the transaction names correctly in the APM section of Observability in Kibana.  
For example, inside the index I see the field `transaction.name` with value `GET http://127.0.0.1:27336/notify`.  
The list of transactions in APM is shown as the following image.  
It appears that the value of the field is tokenized on each occurrence of the space, : and / characters.  
How can I solve this problem displaying the transaction list correctly?

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

This is my APM agent Angular integration  
`app.module.ts`

```auto
import {apm} from '@elastic/apm-rum'
const apm1 = apm.init({
            serviceName: 'test',
            serverUrl: 'http://localhost:8200'
          });

```

---

<div class="post-metadata">

**Author:** ![Alberto\_Delgado](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alberto_delgado/32/98488_2.png) [@Alberto\_Delgado](https://discuss.elastic.co/u/Alberto_Delgado)\
**Post date:** [January 27, 2023, 11:25am UTC](https://discuss.elastic.co/t/wrong-transaction-names-apm-kibana/324038/2 "2023-01-27T11:25:40Z")

</div>

Hi @gaetano,

Thanks for using the agent!

Before digging into this I need to know if I understand properly the issue:

In the ES index, you are seeing "GET [http://127.0.0.1:27336/notify](http://127.0.0.1:27336/notify)" and you would expect to see the very same thing in UI, but you are just seeing "notify". Is that right?

If I'm wrong in my understanding, could you make show us the value you are seeing and the value you would expect to see?

Thanks,  
Alberto

---

<div class="post-metadata">

**Author:** ![gaetano](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@gaetano](https://discuss.elastic.co/u/gaetano)\
**Post date:** [January 27, 2023, 11:41am UTC](https://discuss.elastic.co/t/wrong-transaction-names-apm-kibana/324038/3 "2023-01-27T11:41:49Z")

</div>

I see the values inside the index as in the posted image.  
The string `http://127.0.0.1:27336/notify` (which I expect to see as a value in the `transaction.name` field) is split into many individual strings, i.e. `http``127.0.0.1``27336``notify`.  
I think it's a logstash problem, when in a string it encounters special characters, in this case the two symbols `:` and `/`, the error occurs.  
Using the `transaction.name.keyword` field for aggregation inside APM, I solved the problem. But I just don't know how to set them.

---

<div class="post-metadata">

**Author:** ![Alberto\_Delgado](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alberto_delgado/32/98488_2.png) [@Alberto\_Delgado](https://discuss.elastic.co/u/Alberto_Delgado)\
**Post date:** [January 27, 2023, 12:05pm UTC](https://discuss.elastic.co/t/wrong-transaction-names-apm-kibana/324038/4 "2023-01-27T12:05:09Z")

</div>

Hi @gaetano,

I have been unable to reproduce the issue. Perhaps it's related to Logtash somehow - I'm not using Logtash - perhaps it's worth consulting this with the Logtash team if you are stuck

Let me know if that's how you would like to proceed

Thanks,  
Alberto

---

<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:** [February 17, 2023, 8:05am UTC](https://discuss.elastic.co/t/wrong-transaction-names-apm-kibana/324038/5 "2023-02-17T08:05:58Z")

</div>

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