# Setting Application metrics only on UAs starting with....  ?

**URL:** <https://community.dynatrace.com/t/setting-application-metrics-only-on-uas-starting-with/20835>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic\
**Created:** [November 19, 2020, 8:53am UTC](https://community.dynatrace.com/t/setting-application-metrics-only-on-uas-starting-with/20835 "2020-11-19T08:53:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielbr](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@danielbr](https://community.dynatrace.com/u/danielbr)\
**Post date:** [November 19, 2020, 8:53am UTC](https://community.dynatrace.com/t/setting-application-metrics-only-on-uas-starting-with/20835/1 "2020-11-19T08:53:51Z")

</div>

Hi,

I need to gather a metric only for certain user actions.  
I’ve changed the action names so they begin with “SLA”.

How can I get the metric to evaluate only UA that begin with that value?  
The metric filter seems to only let you filter by specific value 😞

Is there a way of using the filter to accept UAs beginning with a certain string?\  
Any other ideas?

Thanks,

Daniel

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [November 19, 2020, 1:19pm UTC](https://community.dynatrace.com/t/setting-application-metrics-only-on-uas-starting-with/20835/2 "2020-11-19T13:19:52Z")

</div>

You might need to get support involved in this so they can strip out the built in rules for your application, but you can always set the User Action Placeholder you want to capture:

 ![27360-1605791892988.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5808f7c6102168c74d7044cf33dbd52468aaf537.png)

---

<div class="post-metadata">

**Author:** ![zietho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/zietho/32/41733_2.png) [@zietho](https://community.dynatrace.com/u/zietho)\
**Post date:** [November 24, 2020, 7:18pm UTC](https://community.dynatrace.com/t/setting-application-metrics-only-on-uas-starting-with/20835/3 "2020-11-24T19:18:22Z")

</div>

hey,

currently there is only a workaround to achieve this.

you can add an action property that “tags” your action and then use this action property to filter for the ones with a tag value of “SLA” in the MDA. This works since we provide a “contains” filter for action properties. And it works with creating metrics!

regards

Thomas

---

<div class="post-metadata">

**Author:** ![danielbr](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@danielbr](https://community.dynatrace.com/u/danielbr)\
**Post date:** [November 26, 2020, 8:42pm UTC](https://community.dynatrace.com/t/setting-application-metrics-only-on-uas-starting-with/20835/4 "2020-11-26T20:42:59Z")

</div>

Hi Thomas!

I had thought of this trick - but unfortunately I cannot set the Action Property by the action’s name 😞  
If there was a way of marking actions name XYZ with a Property Called X - this could have worked…

Daniel
