19 Feb 2019
04:51 PM
- last edited on
27 Apr 2021
03:55 PM
by
MaciejNeumann
How to extract information from user session from Dynatrace to splunk?
Solved! Go to Solution.
Python script +
https://www.dynatrace.com/news/blog/integrate-search-and-segment-user-session-and-user-action-data-with-the-dynatrace-rest-api-beta/
Thank you Igor, but can a python script be executed in splunk?
Hello Laura. I do not know much Splunk details. Simplest strightforward solution is to run it on whatever host , log results into logfile and read it by Splunk forwarder (agent). But if check Splunk docs i am sure splunk has REST API connector.
Fast googling shows https://answers.splunk.com/answers/142046/rest-api...
So it seams that you need script that regularly extracts user session records by USQL from Dynatrace REST API and then push it into Splunk REST API. Probably Splunk itself has REST API data reader that can be used to directly communicate with Dynatrace.
Regards, Igor
Hello Laura. Actualy i dont know. Googling shows https://answers.splunk.com/answers/142046/rest-api...
whatfor mу means
DT REST API ---> python script ---> Splunk REST API
Probably Splunk has its own REST API data source to extract data from DT.
Regards,
Igor
Than you Igor.