cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

viewing all user actions

adm
Dynatrace Helper
Dynatrace Helper

Is there a way I can see all user actions via the API? Poked around the docs a bit but didn't see anything

3 REPLIES 3

alvaro_sanchez
Dynatrace Helper
Dynatrace Helper

Hi,

 

I believe the best way to get all user actions (and any RUM info) would be the USQL API endpoint. USQL is a SQL-like query language that lets you get all the info related to your user sessions. 

 

Here is USQL documentation: https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/how-to-use-real-use...

 

And here's the API documentation for USQL: https://www.dynatrace.com/support/help/dynatrace-api/environment-api/user-sessions/

 

Regards,

 

Álvaro

AntonioSousa
DynaMight Guru
DynaMight Guru

Yes, it's quite easy, but you will have to do a script with an USQL "SELECT *" query.

Please beware that limits apply, so you have to be particularly careful so you don't miss data.

Antonio Sousa

Here is a USQL statement that can achieve grabbing the user actions for you: 
select name, domain, count(name) as "Count",sum(duration) as "Total time", sum(javascriptErrorCount)FROM useraction group by name, domain ORDER BY sum(duration) DESC

I actually just ran into this myself yesterday, props to James Kitson for building this query!

ACE Consultant, Dynatrace Services
Dynatrace Certified Professional

Featured Posts