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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Enhance Security Operations with Automated Threat Analysis in the Splunk EcosystemAre you leveraging ...

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...