26 Jan 2023 05:49 AM - last edited on 27 Jan 2023 01:59 AM by MaciejNeumann
Hello, ladies and gents,
I need to make a dashboard for a client to show him how many real users are online sorted by geolocation.
I didn't see a stock chart for this. Can you help me? How to build a code to do that?
Solved! Go to Solution.
You can achieve this using USQL: https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/how-to-use-real-use...
The only consideration is, you will not get the real online users, since the USQL will query the completed sessions only, as per doc:
Only closed user sessions can be queried. Live user sessions aren't taken into account.
@dannemca is correct, you can grab the live users via the Session Segmentation but your not able to tile it on a dashboard:
You could however formulate a markdown tile that contains a link to the page as shown above for single click access.
Can you work with the built-in version? (Which already does what you need?)
Go to User behavior infograph section of the application, click View geolocation breakdown, and in the Geo locations details that appear under the infograph you already see some of the information.
If you click Expand to large view, you get a total overview.
Fun part there is that you can use the Pin to dashboard option.
Make sure to filter first, e.g. on user type Real Users.
See in the Demo environment:
World map of "www.easytravel.com" - Dynatrace Demo Live: Demo Live - Dynatrace