# \#usql

**URL:** https://community.dynatrace.com/tag/usql/205.md

[Latest](https://community.dynatrace.com/latest.md) · [Categories](https://community.dynatrace.com/categories.md) · [Tags](https://community.dynatrace.com/tags.md)

---

## [USQL vs DQL: different session counts, contradictory docs on active sessions, and User Action Properties not available in Grail?](https://community.dynatrace.com/t/usql-vs-dql-different-session-counts-contradictory-docs-on-active-sessions-and-user-action-properties-not-available-in-grail/56315)

<div class="topic-metadata">

**Author:** [@v\_mayordomo](https://community.dynatrace.com/u/v_mayordomo)\
**Replies:** 3\
**Last updated:** [August 3, 2026, 9:56am UTC](https://community.dynatrace.com/t/usql-vs-dql-different-session-counts-contradictory-docs-on-active-sessions-and-user-action-properties-not-available-in-grail/56315 "2026-08-03T09:56:34Z")

</div>

Hi Team, We are building new Grail-based dashboards (Document app) for our RUM-monitored web applications. To add business context to sessions, we configured User Action Properties that capture JavaScript variables from…

---

## [An Overview for Various USQL Examples](https://community.dynatrace.com/t/an-overview-for-various-usql-examples/37446)

<div class="topic-metadata">

**Author:** [@xu\_guo](https://community.dynatrace.com/u/xu_guo)\
**Replies:** 8\
**Last updated:** [June 26, 2026, 3:37pm UTC](https://community.dynatrace.com/t/an-overview-for-various-usql-examples/37446 "2026-06-26T15:37:10Z")

</div>

Summary This page provides a collection of commonly used USQL queries for Dynatrace, organized by performance metrics, user actions, applications, and limitations. Page Performance Examples Average Document Interactive …

---

## [Why is 5G Network Technology completely missing from USQL (Web; Mobile)?](https://community.dynatrace.com/t/why-is-5g-network-technology-completely-missing-from-usql-web-mobile/56168)

<div class="topic-metadata">

**Author:** [@Aboud1](https://community.dynatrace.com/u/Aboud1)\
**Replies:** 4\
**Last updated:** [June 17, 2026, 1:01pm UTC](https://community.dynatrace.com/t/why-is-5g-network-technology-completely-missing-from-usql-web-mobile/56168 "2026-06-17T13:01:11Z")

</div>

Hi Everyone, We are trying to track 5G network technology performance in our Managed production environments via USQL, but we’ve noticed that 5G telemetry is completely missing from our data. Instead, it seems to be hea…

---

## [using USQL how to show the duration in Seconds?](https://community.dynatrace.com/t/using-usql-how-to-show-the-duration-in-seconds/19173)

<div class="topic-metadata">

**Author:** [@sureshKumarK](https://community.dynatrace.com/u/sureshKumarK)\
**Replies:** 3\
**Last updated:** [June 4, 2026, 1:22pm UTC](https://community.dynatrace.com/t/using-usql-how-to-show-the-duration-in-seconds/19173 "2026-06-04T13:22:24Z")

</div>

Hi, please let me know converting duration from ms to seconds is doable using USQL? since the results showing in ms it’s not making sense while plotting the chart with Error count/user action count and duration on same a…

---

## [Get USQL duration results in Seconds or minutes](https://community.dynatrace.com/t/get-usql-duration-results-in-seconds-or-minutes/20309)

<div class="topic-metadata">

**Author:** [@service\_apms](https://community.dynatrace.com/u/service_apms)\
**Replies:** 8\
**Last updated:** [June 4, 2026, 1:20pm UTC](https://community.dynatrace.com/t/get-usql-duration-results-in-seconds-or-minutes/20309 "2026-06-04T13:20:54Z")

</div>

Hello is there a way to get USQL duration results in Seconds or Minutes instead of “ms” Thanks

---

## [Why Are “Page change” Events Not Returned in userAction Queries?](https://community.dynatrace.com/t/why-are-page-change-events-not-returned-in-useraction-queries/55992)

<div class="topic-metadata">

**Author:** [@Aboud1](https://community.dynatrace.com/u/Aboud1)\
**Replies:** 3\
**Last updated:** [June 2, 2026, 9:32am UTC](https://community.dynatrace.com/t/why-are-page-change-events-not-returned-in-useraction-queries/55992 "2026-06-02T09:32:51Z")

</div>

Hello Community, We are noticing a discrepancy between the actions visible in the User Session timeline and the results returned from querying the userAction table. Session contains the following visible events related…

---

## [USQL - User sessions query  - Filter based on computed value](https://community.dynatrace.com/t/usql-user-sessions-query-filter-based-on-computed-value/55860)

<div class="topic-metadata">

**Author:** [@kmahali](https://community.dynatrace.com/u/kmahali)\
**Replies:** 3\
**Last updated:** [May 11, 2026, 11:55am UTC](https://community.dynatrace.com/t/usql-user-sessions-query-filter-based-on-computed-value/55860 "2026-05-11T11:55:07Z")

</div>

SELECT usersession.startTime, userevent.startTime , usersession.userSessionId, usersession.stringProperties.user\_loginid, (userevent.startTime - usersession.startTime )/60000 AS error\_occurrence FROM userevent …

---

## [Convert RUM Classic Dashboards(USQL) to DQL](https://community.dynatrace.com/t/convert-rum-classic-dashboards-usql-to-dql/55673)

<div class="topic-metadata">

**Author:** [@dkrishna](https://community.dynatrace.com/u/dkrishna)\
**Replies:** 5\
**Last updated:** [May 3, 2026, 7:13pm UTC](https://community.dynatrace.com/t/convert-rum-classic-dashboards-usql-to-dql/55673 "2026-05-03T19:13:56Z")

</div>

Hi Team, Our RUM is still on Classic, but we want to convert all its USQL Dashboards to Gen3 dashboards, need your help to migrate few important USQL dashboards to Gen3, how can we achieve this. Many Thanks in Advance. …

---

## [Problem with action property in USQL](https://community.dynatrace.com/t/problem-with-action-property-in-usql/55367)

<div class="topic-metadata">

**Author:** [@arobayo17](https://community.dynatrace.com/u/arobayo17)\
**Replies:** 1\
**Last updated:** [March 30, 2026, 8:09am UTC](https://community.dynatrace.com/t/problem-with-action-property-in-usql/55367 "2026-03-30T08:09:54Z")

</div>

Hello, I am trying to query user action properties using USQL in my Managed environment, but I am not getting any results. Below are the steps I followed: 1. I configured a user action property 2. I verified that t…

---

## [User action property does not work throught USQL](https://community.dynatrace.com/t/user-action-property-does-not-work-throught-usql/20036)

<div class="topic-metadata">

**Author:** [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Replies:** 4\
**Last updated:** [March 25, 2026, 6:18pm UTC](https://community.dynatrace.com/t/user-action-property-does-not-work-throught-usql/20036 "2026-03-25T18:18:20Z")

</div>

Hello I find that user action property does not work throught USQL. Is it really so? the documentation of Limitation does not say about it Define user action and user session properties for web applications in RUM Cla…

---

## [How to pin the affected  sessions and the related problems in dashboard?](https://community.dynatrace.com/t/how-to-pin-the-affected-sessions-and-the-related-problems-in-dashboard/52729)

<div class="topic-metadata">

**Author:** [@Doaa\_Sobhy](https://community.dynatrace.com/u/Doaa_Sobhy)\
**Replies:** 3\
**Last updated:** [February 2, 2026, 4:18am UTC](https://community.dynatrace.com/t/how-to-pin-the-affected-sessions-and-the-related-problems-in-dashboard/52729 "2026-02-02T04:18:19Z")

</div>

Hello, Is there any workaround to create a dashboard showing the affected user sessions and the related problems? I noticed that, in the problems page I can view the affected user sessions filtered by \[users impacted b…

---

## [Export Inactive Applications in RUM Using DQL Queries](https://community.dynatrace.com/t/export-inactive-applications-in-rum-using-dql-queries/49859)

<div class="topic-metadata">

**Author:** [@vishnu\_kumar](https://community.dynatrace.com/u/vishnu_kumar)\
**Replies:** 3\
**Last updated:** [December 18, 2025, 12:43pm UTC](https://community.dynatrace.com/t/export-inactive-applications-in-rum-using-dql-queries/49859 "2025-12-18T12:43:19Z")

</div>

Hi, We have some applications that has “No user actions during past” besides its name, which have no traffic for a timeframe in “Frontend” page. I used these “Query User sessions” with USQL as same timeframe as Fronten…

---

## [Hardcoding USQL Timeframe in Dynatrace Notebook Fails for Dynamic Grail Dashboards - how to fix it?](https://community.dynatrace.com/t/hardcoding-usql-timeframe-in-dynatrace-notebook-fails-for-dynamic-grail-dashboards-how-to-fix-it/50897)

<div class="topic-metadata">

**Author:** [@tinglikming](https://community.dynatrace.com/u/tinglikming)\
**Replies:** 1\
**Last updated:** [December 10, 2025, 11:56am UTC](https://community.dynatrace.com/t/hardcoding-usql-timeframe-in-dynatrace-notebook-fails-for-dynamic-grail-dashboards-how-to-fix-it/50897 "2025-12-10T11:56:45Z")

</div>

Hi Dynatrace Community, I wanted to share my experience with querying USQL in a Dynatrace Notebook using JavaScript to fetch Real User Monitoring (RUM) data for a Grail dashboard, as Grail doesn’t have built-in RUM metr…

---

## [USQL - Returning the type of error (Javascript, Request, or Custom) from the userError object](https://community.dynatrace.com/t/usql-returning-the-type-of-error-javascript-request-or-custom-from-the-usererror-object/54141)

<div class="topic-metadata">

**Author:** [@Irvin\_naylor01](https://community.dynatrace.com/u/Irvin_naylor01)\
**Replies:** 1\
**Last updated:** [December 10, 2025, 10:18am UTC](https://community.dynatrace.com/t/usql-returning-the-type-of-error-javascript-request-or-custom-from-the-usererror-object/54141 "2025-12-10T10:18:00Z")

</div>

Hi all, I’m doing some querying on the numbers of certain errors in an application using USQL to understand where users are having the most errors. Is there any way I can split my results based on the type of error clas…

---

## [Connection Type for App Come with null value](https://community.dynatrace.com/t/connection-type-for-app-come-with-null-value/53894)

<div class="topic-metadata">

**Author:** [@Kmohamed](https://community.dynatrace.com/u/Kmohamed)\
**Replies:** 1\
**Last updated:** [October 29, 2025, 4:49am UTC](https://community.dynatrace.com/t/connection-type-for-app-come-with-null-value/53894 "2025-10-29T04:49:32Z")

</div>

hello , why some values in the query come with null or unknown like the following connection type query and when clicking on this unknown percentage found that this percentage come to be zero like the following scre…

---

## [Select a specific element within the useraction.name array](https://community.dynatrace.com/t/select-a-specific-element-within-the-useraction-name-array/53381)

<div class="topic-metadata">

**Author:** [@loopy](https://community.dynatrace.com/u/loopy)\
**Replies:** 2\
**Last updated:** [September 17, 2025, 7:15am UTC](https://community.dynatrace.com/t/select-a-specific-element-within-the-useraction-name-array/53381 "2025-09-17T07:15:36Z")

</div>

When performing the User Session Query select useraction.name from usersession the names of the actions are returned in what looks like an array. The problem statement is I would like to know after the home page where us…

---

## [User action properties - Conflict when querying similar property key names across applications?](https://community.dynatrace.com/t/user-action-properties-conflict-when-querying-similar-property-key-names-across-applications/52841)

<div class="topic-metadata">

**Author:** [@Irvin\_naylor01](https://community.dynatrace.com/u/Irvin_naylor01)\
**Replies:** 1\
**Last updated:** [August 13, 2025, 2:31pm UTC](https://community.dynatrace.com/t/user-action-properties-conflict-when-querying-similar-property-key-names-across-applications/52841 "2025-08-13T14:31:18Z")

</div>

Hi all, I’m looking for clarification regarding user action/session properties that have similar key names across applications. Say for example: I have a custom user action property with a key “loyaltystatus” in appl…

---

## [User Session Query, Impacted Problem](https://community.dynatrace.com/t/user-session-query-impacted-problem/32010)

<div class="topic-metadata">

**Author:** [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Replies:** 7\
**Last updated:** [August 1, 2025, 1:36pm UTC](https://community.dynatrace.com/t/user-session-query-impacted-problem/32010 "2025-08-01T13:36:54Z")

</div>

Hi all, I cant find a way using usersession query to count the number of users impacted by a specific problem. Any help please?

---

## [Trying to convert a session query into a custom metric for the first time](https://community.dynatrace.com/t/trying-to-convert-a-session-query-into-a-custom-metric-for-the-first-time/52237)

<div class="topic-metadata">

**Author:** [@runatyr](https://community.dynatrace.com/u/runatyr)\
**Replies:** 2\
**Last updated:** [June 25, 2025, 3:16pm UTC](https://community.dynatrace.com/t/trying-to-convert-a-session-query-into-a-custom-metric-for-the-first-time/52237 "2025-06-25T15:16:43Z")

</div>

Hello: I am trying to convert a session query into custom metric. At the end of the day. I want to be able to show in a bar char the amount of user session every 15 minutes. I need to change this into an API call sinc…

---

## [Conversions Goals on USQL](https://community.dynatrace.com/t/conversions-goals-on-usql/43890)

<div class="topic-metadata">

**Author:** [@ArtuD](https://community.dynatrace.com/u/ArtuD)\
**Replies:** 4\
**Last updated:** [June 12, 2025, 9:17pm UTC](https://community.dynatrace.com/t/conversions-goals-on-usql/43890 "2025-06-12T21:17:52Z")

</div>

How can i pass a conversion goals to a USQL query and create a dashboard?

---

## [How to display live user activity for a specific application?](https://community.dynatrace.com/t/how-to-display-live-user-activity-for-a-specific-application/51285)

<div class="topic-metadata">

**Author:** [@Etienne1](https://community.dynatrace.com/u/Etienne1)\
**Replies:** 4\
**Last updated:** [April 28, 2025, 8:27am UTC](https://community.dynatrace.com/t/how-to-display-live-user-activity-for-a-specific-application/51285 "2025-04-28T08:27:59Z")

</div>

Hello, I would like to have this tile, but only for one of my apps because it currently displays information for all my apps.

---

## [Bounce rate](https://community.dynatrace.com/t/bounce-rate/51064)

<div class="topic-metadata">

**Author:** [@Pranjal17](https://community.dynatrace.com/u/Pranjal17)\
**Replies:** 3\
**Last updated:** [April 7, 2025, 8:45am UTC](https://community.dynatrace.com/t/bounce-rate/51064 "2025-04-07T08:45:00Z")

</div>

I want to get the bounce rate that are given in the bounce rate table using USQL query :

---

## [Fetching Web Requests Triggered by a Specific User Action in USQL](https://community.dynatrace.com/t/fetching-web-requests-triggered-by-a-specific-user-action-in-usql/50767)

<div class="topic-metadata">

**Author:** [@NIhar\_Ranjan](https://community.dynatrace.com/u/NIhar_Ranjan)\
**Replies:** 2\
**Last updated:** [March 20, 2025, 9:50am UTC](https://community.dynatrace.com/t/fetching-web-requests-triggered-by-a-specific-user-action-in-usql/50767 "2025-03-20T09:50:33Z")

</div>

Dear All, I’m using a USQL query to fetch all user actions along with their request count, error count, and average duration. However, I need to retrieve only the web requests triggered by a specific user action. I’ve e…

---

## [RUM(auto-instrumentation only): Is it possible to perform complicated user session analytics query?](https://community.dynatrace.com/t/rum-auto-instrumentation-only-is-it-possible-to-perform-complicated-user-session-analytics-query/50651)

<div class="topic-metadata">

**Author:** [@lbgtolentino](https://community.dynatrace.com/u/lbgtolentino)\
**Replies:** 4\
**Last updated:** [March 12, 2025, 7:21am UTC](https://community.dynatrace.com/t/rum-auto-instrumentation-only-is-it-possible-to-perform-complicated-user-session-analytics-query/50651 "2025-03-12T07:21:46Z")

</div>

We have the following analytics requirement using RUM for mobile (iOS and Android) where we only implemented the auto-instrumentation feature of the SDK. Find out how many users perform an action where api/service call …

---

## [User Session Query Language - Sessions with HTTP 500 errors](https://community.dynatrace.com/t/user-session-query-language-sessions-with-http-500-errors/50515)

<div class="topic-metadata">

**Author:** [@RishiSuthar](https://community.dynatrace.com/u/RishiSuthar)\
**Replies:** 4\
**Last updated:** [March 3, 2025, 6:46pm UTC](https://community.dynatrace.com/t/user-session-query-language-sessions-with-http-500-errors/50515 "2025-03-03T18:46:40Z")

</div>

Looking for a way to build a user session query to give me a count on how many userActions result in HTTP 500 errors based on specific URLs. Is there a way to filter on just HTTP 500 errors using the User session query? …

---

## [Way to display reasons for frustration user session](https://community.dynatrace.com/t/way-to-display-reasons-for-frustration-user-session/44296)

<div class="topic-metadata">

**Author:** [@hqlee](https://community.dynatrace.com/u/hqlee)\
**Replies:** 1\
**Last updated:** [January 3, 2025, 3:20pm UTC](https://community.dynatrace.com/t/way-to-display-reasons-for-frustration-user-session/44296 "2025-01-03T15:20:44Z")

</div>

Is there any way to display the following information in dashboards? I’ve tried USQL but don’t see any option for reasons of frustration etc. The reasons for the frustrated user sessions. Classification of reasons (und…

---

## [Difference between queried number of users and number on application overview](https://community.dynatrace.com/t/difference-between-queried-number-of-users-and-number-on-application-overview/48995)

<div class="topic-metadata">

**Author:** [@AhmedKhaled\_94](https://community.dynatrace.com/u/AhmedKhaled_94)\
**Replies:** 3\
**Last updated:** [December 4, 2024, 6:30am UTC](https://community.dynatrace.com/t/difference-between-queried-number-of-users-and-number-on-application-overview/48995 "2024-12-04T06:30:32Z")

</div>

Hello, One of our customers is trying to perform analysis on their user analytics, seeing how many of their users are opening from different mobile version etc. One of the queries we are trying to get is the total numb…

---

## [Problem with USQL](https://community.dynatrace.com/t/problem-with-usql/44010)

<div class="topic-metadata">

**Author:** [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Replies:** 2\
**Last updated:** [November 20, 2024, 9:03am UTC](https://community.dynatrace.com/t/problem-with-usql/44010 "2024-11-20T09:03:57Z")

</div>

Hi, I have a USQL like this. I would like to catch information that a user has chosen a different look for the application. However, I am only interested in catching his last session (not all of them) to determine what …

---

## [Separate nesting of the XHR actions individually](https://community.dynatrace.com/t/separate-nesting-of-the-xhr-actions-individually/42249)

<div class="topic-metadata">

**Author:** [@Suryanto\_1](https://community.dynatrace.com/u/Suryanto_1)\
**Replies:** 13\
**Last updated:** [September 19, 2024, 6:42am UTC](https://community.dynatrace.com/t/separate-nesting-of-the-xhr-actions-individually/42249 "2024-09-19T06:42:20Z")

</div>

we have discovered that some applications will trigger multiple XHR Urls in a single click, The multiple XHR urls will then select one XHR as the main user action and the rest will be nested as a sub-action, and the ones…

---

## [Setting time frame for USQL query](https://community.dynatrace.com/t/setting-time-frame-for-usql-query/47144)

<div class="topic-metadata">

**Author:** [@fumax](https://community.dynatrace.com/u/fumax)\
**Replies:** 3\
**Last updated:** [August 15, 2024, 9:00pm UTC](https://community.dynatrace.com/t/setting-time-frame-for-usql-query/47144 "2024-08-15T21:00:03Z")

</div>

I want to fetch all the xhr actions inside a web application. I am using following usql query(and sending it as a param in GET /api/v1/userSessionQueryLanguage/table SELECT useraction.name, COUNT(\*) AS action\_count FROM…

[Next page](https://community.dynatrace.com/tag/usql/205.md?match_all_tags=true&page=1&tags%5B%5D=usql)
