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

This is more of a question than a bug report, as I don't know if it's actually a problem. In [JSONResultsReader](https://github.com/splunk/splunk-sdk-python/blob/e323dd8ea76e8475f4108ae257fe492bcf4fc4a2/splunklib/results.py#L364), the code that handles messages looks like this: ```...

**Describe the bug** When using `oneshot`, the `JSONResultsReader` object is not iterable, if the result of the query is empty. Other type of jobs haven't been tested. **To Reproduce** Adjust...

**Describe the bug** Custom search commands exception out when non UTF-8 event data is present in the search pipeline **To Reproduce** 1. Create a custom command 2. Pass non UTF-8...

**Describe the bug** SDK logs sensitive data when running in debug mode. **To Reproduce** Steps to reproduce the behavior: 1. Configure logging in debug mode. (https://github.com/splunk/splunk-sdk-python#optionalset-up-logging-for-splunklib) 2. Call some specific...

Hello, I had a custom search command working with the python2 version of splunklib. I moved now to python3 and I have this error: ``` 01-20-2023 16:07:54.435 INFO ChunkedExternProcessor -...

**Describe the bug** Hi. I'm getting started with the SDK and trying to run a oneshot search and convert that returned JSON into a Pandas dataframe. I think this must...

**Describe the bug** In a minimal custom reporting command one can override the reduce definition. The "report" object, a generator of OrderedDict objects, which are the rows of data passed...

**Describe the bug** index.upload() couldn't find the file (tried both relative and absolute path) **To Reproduce** ```python3 import os import splunklib.client as client def splunk_connector(username, password, host): try: service =...

**Describe the bug** Not able to run specific test when following instruction **To Reproduce** Steps to reproduce the behavior: 1. Go to https://github.com/splunk/splunk-sdk-python/blob/master/README.md#run-the-unit-tests 2. Run `make specific_test_name` **Expected behavior** The...

**Describe the bug** As Splunk allows users to have non existent roles, calling role_entites on a user with roles assigned that are not existent leads to exceptions. Defective code: class...