I would like to use Splunk's SDK for python on a remote system (e.g. a system with no local splunk install). What is the best way to go about doing that?
Also, the PySDK docs only show you how to get to the docs using
BTW. I found the question Can I use Splunk’s built-in Python SDK in my own scripts?, and that is somewhat helpful, but doesn't help anyone who is not familiar with python packaging. Also, it doesn't cover any copyright considerations, specifically, is it okay to copy splunk's python libraries to a python install on another machine?
I have an exported copy of splunk pydoc here -> https://docs.google.com/leaf?id=0B5uKsNjxhyrdMGE1ZDBkNTEtYjI2OC00OGQwLTg3MjMtMjRlNGU3MGVkYmU3&hl=en you can download.
Have you checked out http://code.google.com/p/splunk-labs/wiki/SplunkAuth. This is a community driven site (perhaps a little outdated, Ive tried it on 4.0 and it worked) with an external python SDK example. Look for the section that starts with "This example uses Python and the httplib2 library. You may need to install it for your particular Python instance."
Dont know about copying Splunk's python libraries and the legal ramifications.
answered 17 Jun '10, 15:47