# APM/Elastic is not indexing transaction.page.url

**URL:** <https://discuss.elastic.co/t/apm-elastic-is-not-indexing-transaction-page-url/180917>\
**Category:** APM\
**Created:** [May 14, 2019, 4:37am UTC](https://discuss.elastic.co/t/apm-elastic-is-not-indexing-transaction-page-url/180917 "2019-05-14T04:37:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit\_e](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@amit\_e](https://discuss.elastic.co/u/amit_e)\
**Post date:** [May 14, 2019, 4:37am UTC](https://discuss.elastic.co/t/apm-elastic-is-not-indexing-transaction-page-url/180917/1 "2019-05-14T04:37:52Z")

</div>

Context: We have implemented RUM via APM and want to get an aggregated count of visits by url from that data.

If you look at this screenshot of a search (done via discover) you will see that `transaction.page.url` is showing up in the column:

 ![23%20AM](https://us1.discourse-cdn.com/elastic/original/3X/0/a/0afe1cf4fc209920d4a134f55ac2237bdf7c249e.png)

But `transaction.page.url` is not part of any mapping property in my apm-\* index and it also doesn't show up when I try to query by that property.

So where is it coming from? And how do I index unique page visits using it?

---

<div class="post-metadata">

**Author:** ![Hamidreza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hamidreza/32/21369_2.png) [@Hamidreza](https://discuss.elastic.co/u/Hamidreza)\
**Post date:** [May 14, 2019, 2:17pm UTC](https://discuss.elastic.co/t/apm-elastic-is-not-indexing-transaction-page-url/180917/2 "2019-05-14T14:17:52Z")

</div>

Hi @amit_e,

Currently, the page url is not indexed since it's the full url of the page including query strings and fragments, therefore it can potentially be very long. However, you can use [Tags API](https://www.elastic.co/guide/en/apm/agent/js-base/current/api.html#apm-add-tags) to add any information to Transactions and Errors.

Please note that the length of each tag is limited to 1024 characters.

Cheers,  
Hamid

---

<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:** [June 11, 2019, 2:17pm UTC](https://discuss.elastic.co/t/apm-elastic-is-not-indexing-transaction-page-url/180917/3 "2019-06-11T14:17:54Z")

</div>

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