# Decoding action names in RUM agent

**URL:** <https://discuss.elastic.co/t/decoding-action-names-in-rum-agent/186320>\
**Category:** APM\
**Tags:** rum\
**Created:** [June 18, 2019, 5:22pm UTC](https://discuss.elastic.co/t/decoding-action-names-in-rum-agent/186320 "2019-06-18T17:22:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seafoodbuffet](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@seafoodbuffet](https://discuss.elastic.co/u/seafoodbuffet)\
**Post date:** [June 18, 2019, 5:22pm UTC](https://discuss.elastic.co/t/decoding-action-names-in-rum-agent/186320/1 "2019-06-18T17:22:21Z")

</div>

We are currently exploring using Elastic APM against our application. We'd like to capture both RUM data (in browser observation of user experience) as well as more traditional APM information.

Our application unfortunately is built using a web framework (Vaadin) that wraps all actions encoded as URL params and POST's to the same back-end URL (e..g. POST /myapp/UIDL). As a result, the user actions in the RUM agent aren't helpful for discerning individual user actions.

Is there a way to decoration/override the action names using the RUM agent API to get more useful data out of RUM agent?

---

<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:** [June 19, 2019, 7:14am UTC](https://discuss.elastic.co/t/decoding-action-names-in-rum-agent/186320/2 "2019-06-19T07:14:51Z")

</div>

Hi @seafoodbuffet,

Welcome to the forum.

We have the [`addFilter` API](https://www.elastic.co/guide/en/apm/agent/js-base/current/agent-api.html#apm-add-filter). Filters are called before the payload is sent to the APM server and you can modify any part of the payload including the spans. Please see our documentation for more detail.

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:** [July 10, 2019, 3:14am UTC](https://discuss.elastic.co/t/decoding-action-names-in-rum-agent/186320/3 "2019-07-10T03:14:54Z")

</div>

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