15 Jan 2023 04:49 PM - last edited on 17 Jan 2023 12:24 AM by MaciejNeumann
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.
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
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.