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

Hi, I am trying to use export.py from examples directory, to extract data from splunk from particular index. But i am facing the below error, Traceback (most recent call last):...

If data is sent to an external command, data can be modified unexpectedly because leading spaces are ignored when sent back to Splunk from the SDK. It is possible that...

I might be doing something wrong here... I pip installed the SDK in a Python 3.8 virtual environment. I see the splunk-sdk and splunklib libs in the virtualenv. When I...

Calls to this endpoint return a 404. The SDK appends a '/' to the end of any uri. So, /services/collector/event is found, /services/collector/event/ is not. `event_collector_endpoint = splunklib.client.Endpoint(splunk_service, "/services/collector/event")` Subclassing...

the python sdk isn't handling http 303 redirects related: https://github.com/splunk/splunk-sdk-python/issues/311#issuecomment-696247004 `splunk-sdk==1.6.13` code: https://github.com/TheShellLand/automon-core/blob/master/automon/integrations/splunk/client.py#L9-L13 ``` import splunklib.client as client client.connect( host=self.config.host, port=self.config.port, username=self.config.username, password=self.config.password) ``` Error: ``` >>> client.connect( ... host=self.config.host,...

https://github.com/splunk/splunk-sdk-python/blob/7645d29b7fc1166c554bf9a7a03f40a02529ccc4/splunklib/__init__.py#L18 Causing ImportError developing modular inputs when using `from splunklib.modularinput import *`

examplename.py file is not present in the git repo based on the below documentation Run the examples Examples are located in the /splunk-sdk-python/examples directory. To run the examples at the...

The `KVStoreCollectionData` response from `query_by_id` is a dict. However, this requires the user to convert the dict to a string before passing it back to any function that pushes data...

**Describe the bug** The `**query` in KV Store Data API functions have an error in typing or in usage in the function. https://github.com/splunk/splunk-sdk-python/blob/9f6b2e041e7e4d09c70cc32c02d25c694842bce7/splunklib/client.py#L3633 https://github.com/splunk/splunk-sdk-python/blob/9f6b2e041e7e4d09c70cc32c02d25c694842bce7/splunklib/client.py#L3643 **To Reproduce** Use the `KVStoreCollectionData` query...

**Describe the bug** When calling service.apps.list() with output_mode="json", Etree cannot parse the results: **To Reproduce** Steps to reproduce the behavior: Initialize a connection to your Splunk Search Head and call...