Getting Data In

Is it possible to Login to Splunk via Python SDK using cookies?

delewis13
Explorer

Hi there!

I have access to the following cookies from the browser while in a Splunk session:

'csrftoken=...; splunkweb_csrf_token_8000=...; session_id_8000=...; splunkd_8000=...'

Is it possible to log in to Splunk using python SDK with these cookies?

The documentation has client.connect(host, port, cookies), however this isn't working for me. Seems like it might need splunkd_8089 cookie?

Cheers!

Tags (1)

jbrocks
Communicator

Hey, did you get any solution to this?

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...