Real User Monitoring
User session monitoring, key user actions - everything RUM.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

User Sessions – Domain-based filtering

Vikas_g1997
Dynatrace Organizer
Dynatrace Organizer
Hi team ,
I’m checking User Sessions and I need some help.
Currently, sessions are visible at the application level, but I want to add a filter based on domain (for example: myzain.kw.zain.com vs kw.zain.com) so we can clearly segregate the users sessions .
Can you please advise:
  • If domain-based filtering is supported directly in User Sessions, and
  • The best way to configure or apply this filter (saved filter, dimension, or alternative approach)?
Thanks in advance! 

 

Vikas_g1997_0-1768997566493.pngVikas_g1997_1-1768997574639.png

 

2 REPLIES 2

Mizső
DynaMight Guru
DynaMight Guru

Hi @Vikas_g1997,

Have you tried to use custom session properties some how (eg. with serverside request attributes)? Maybe it is a wrong idea but could you please check it.

Best regards,

János 

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

t_pawlak
Champion

Hi,

Thanks for the suggestion.
Unfortunately, domain-based filtering is not directly supported in User Sessions as a built-in dimension. User Sessions can be filtered by application, browser, user action, etc., but not by domain/hostname out of the box.

The best and supported solution is what @Mizső  sugest to use Custom Session Properties, based on:

  • URL host / domain, or
  • Server-side Request Attributes (if the domain is available on the backend side).

Alternatively, you can use USQL and filter by domain on the user action level, for example:

SELECT *
FROM usersession
JOIN useraction
WHERE useraction.domain = "www.dynatrace.com"

In this case, you are not filtering directly in the User Sessions UI, but instead querying the data and extracting only the information you are interested in.

Featured Posts