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.
19 Feb 2019 05:52 PM
Python script +
https://www.dynatrace.com/news/blog/integrate-search-and-segment-user-session-and-user-action-data-with-the-dynatrace-rest-api-beta/
20 Feb 2019 07:47 AM
Thank you Igor, but can a python script be executed in splunk?
			
    
	
		
		
		20 Feb 2019
	
		
		08:38 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		06 Mar 2024
	
		
		10:48 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			IzabelaRokita
		
		
		
		
		
		
		
		
	
			
		
Hello Laura. I do not know much Splunk details. The simplest straightforward solution is to run it on whatever host, log results into logfile and read it by Splunk forwarder (agent). But if I check Splunk docs, i am sure Splunk has REST API connector.
So it seems that you need a script that regularly extracts user session records by USQL from Dynatrace REST API and then pushes it into Splunk REST API. Probably Splunk itself has REST API data reader that can be used to directly communicate with Dynatrace.
Regards, Igor