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

Query web and mobile application on the same information

gus_solji
Participant

Hi, I have a web application and a mobile application with the same functionality. Can I make a query to know if an error is present in both and show me the information?

Thanks

3 REPLIES 3

dannemca
DynaMight Guru
DynaMight Guru

Yes you can, using USQL (https://www.dynatrace.com/support/help/platform-modules/digital-experience/user-sessions/custom-quer....

Example:

Query: "SELECT * FROM usersession WHERE (useraction.requestErrorCount>0 AND (useraction.application='easyTravel Mobile' OR userevent.application='easyTravel Mobile' OR usererror.application='easyTravel Mobile' OR useraction.application='www.easytravel.com ' OR userevent.application='www.easytravel.com ' OR usererror.application='www.easytravel.com '))"

Screenshot 2023-03-06 at 11.23.50.png

Site Reliability Engineer @ Kyndryl

Thansks for your help!

Can I search for an error specifically between applications? e.g. "The id is required"? or or more specific for what the error says?

You can set up custom errors for web application and then filter by them, https://www.dynatrace.com/support/help/platform-modules/digital-experience/web-applications/setup-an...

For Mobile, there is no such option in settings, but I guess you can set errors in your app code, and then query for these errors. If still not possible , maybe you can leverage the user actions portion, to define an error as user action and use them in the queries.

Site Reliability Engineer @ Kyndryl

Featured Posts