Splunk Dev

Where is the Python splunk module?

rpostelnik
New Member

I'm trying to implement this logging example (http://dev.splunk.com/view/splunk-extensions/SP-CAAAEA9) but I pip installed splunk-sdk and the only module available is splunklib. splunklib doesn't appear to have the setupSplunkLogger. Where is this function? I tried install straight from the sdk zip but same thing.

Tags (2)
0 Karma

araitz
Splunk Employee
Splunk Employee
$SPLUNK_HOME/lib/python2.7/site-packages/splunk
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 ...