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

While using the _HTTPError_ (splunklib/binding.py) on Python3, the error shown is form of bytes. Example: `b'{"messages":[{"type":"ERROR","text":""}]}'` And when using the _write_xml_document()_ method (splunklib/modularinput/event_writer.py), we are recieving `ERRORwrite() argument must be...

Python `sys.stdout.write()` does not supporting writing bytes to stdout stream In event_writer.py `self._out.write(b"")` at line 54 and `self._out.write(b"")` at line 81 In event_writer.py `write_xml_document` method try to write encoded xml...

I'm using a virtual env (similar to how [Splunk Scientific Computing app](https://splunkbase.splunk.com/app/2882/) does) to develop Python 3 applications whilst Splunk is still running Python 2. The `splunk-sdk-python` says: > The...

I am trying to export splunk result into json format using splunk sdk. Below is the code I am using, this works when output_mode is csv, but when I use...

Howdy, I'm seeing high cpu iterating over a `ResponseReader` object in Python 3.7. When doing something like: ``` results = service.jobs.export('search *') for _ in results: pass ``` CPU spikes...

Environment: - splunk8.0 - splunk sdk 1.6.11 - python 3 When I create StreamingCommand "testcommand" with following code: ``` #!/usr/bin/env python #-*- coding: utf-8 -*- import sys from splunklib.searchcommands import...

Other files have 644 and the execute permission results in failing to pass app inspect. These files are 755 in the tar.gz file, would it be possible to fix this...

Hi, I created a simple splunk app to test splunk SDK, it works but I get an error when there are lots of events (~20000): > `RuntimeError: maximum recursion depth...

Project version: 1.6.11 Platform: CentOS Framework: Python 2.7.4 Splunk: Splunk Cloud (7.2.9) Problem: I'm getting multiple iterations of results for each search I make. I've tried this with a very...

See https://github.com/splunk/splunk-sdk-python/blame/master/README.md#L289: The email address "[email protected]" can no longer be used to open support cases. Instead, customers should login to the Support Portal using their Splunk.com account, and open a...