splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

Splunk Software Development Kit for Python

Results splunk-sdk-python issues
Sort by recently updated
recently updated
newest added

Running into a problem that is really boggling me. I am listing the stanzas in `props.conf`. Basically the one under `system/default`. (from the `nobody/system` namespace) The problem is that the...

As mentioned in the document, i cloned the splunk-sdk-python setup from github. when i try to install the sdk using command "python setup.py install", it throws the error that "could...

https://github.com/splunk/splunk-sdk-python/blob/master/splunklib/binding.py#L157 replace with this: return "UrlEncoded(%s)" % repr(urllib.unquote(str(self)))

The python splunk SDK currently breaks when the server uses "Connection: keep-alive". The issue is in splunklib.binding:handler, in the request method, you get the response object, then call close on...

When our Splunk machine is heavily in use, a REST call to get the results of a search job will fail unexpectedly, as below: ``` job.refresh() File "splunk-sdk-python/splunklib/client.py", line 955,...

When I pass an unresolved hostname to client.connect, I get an exception: ``` File "/usr/local/lib/python2.7/dist-packages/splunklib/client.py", line 288, in connect return Service(**kwargs).login() File "/usr/local/lib/python2.7/dist-packages/splunklib/binding.py", line 751, in login password=self.password) File "/usr/local/lib/python2.7/dist-packages/splunklib/binding.py",...

In splunklib/results.py at line 257 `values.append(elem.text.encode('utf8'))` can raise an AttributeError for encode. If the xml looks like: ``` ``` elem.text will be the None object, not an empty string as...

I am using the 1.1.0 release currently available in pip. I attempt to connect to my local splunk 6.0 install using the following: ``` service.client.connect( host='localhost', scheme='https', port=8443, app='myapp', username="myuser",...

It's probably easiest to describe the issue with an example. First, create a new monitor input s = splunklib.connect(...) s.inputs.create('/home/myuser/log', kind='monitor') I see a POST with name='%2Fhome%2Fmyuser%2Flog' in the message...

# Splunk Python SDK Release Instructions These are instructions on the various steps necessary to cut out a new release of the Splunk Python SDK. Even though the instructions are...