16 Jan 2023 12:49 AM - last edited on 20 Aug 2024 03:10 PM by Michal_Gebacki
Hi All,
Greetings of the day.
I would like to know how to export user session data from Dynatrace. Is there any Dynatrace API to retrieve user session data like as problem notification. I have verified Dynatrace document and did not find relevant information. Please advise?
Solved! Go to Solution.
16 Jan 2023 02:00 AM
Hey Koteswar,
There are 2 main ways of exporting the data. The first is using this API User sessions API | Dynatrace Docs which allows you to run USQL queries through an API.
The second method is Configure user session export | Dynatrace Docs which allows for sessions to be streamed to another platform or storage location for long term storage or more complex analysis.
As far as I know there is no way to trigger exporting that information when a problem or some other event occurs within Dynatrace. You could consider using external tools to run queries when custom problems are created.
Hope this helps
30 Jan 2023 12:21 PM
Hi @Fin_Ubels
I've created the token to extract the session data for a specific application.
can you please guide me where to specify it the application name to get it's user session data.
16 Jan 2023 09:12 AM
@Fin_Ubels thank you for sharing information.