question

Laura M. avatar image
Laura M. asked ·

how to extract information from user session from dynatrace to splunk?

configurationdynatrace saasuser session monitoringuser actions
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

IGOR M. avatar image
IGOR M. answered ·

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

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

IGOR M. avatar image
IGOR M. answered ·

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

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Than you Igor.

0 Likes 0 · ·
Laura M. avatar image
Laura M. answered ·

Thank you Igor, but can a python script be executed in splunk?

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

IGOR M. avatar image
IGOR M. answered ·
Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Space Topics