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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...