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

The readme should cover how to use this to write modular inputs. Specifically, how much of it do I need to ship in my modinput to get it to work...

If there's an error early in the process (which I handle and .log()) I get an ERROR to stderr, and then a tag to stdout.... The writer should write the...

After one attempt and seeing the error handling you're providing I had to put in a wrapper of my own to manually write to your event writer: ``` except Exception...

That is, it should be more similar to the [logging](https://docs.python.org/2/library/logging.html) class. At a minimum, the `log` method of EventWriter should take an integer [LoggingLevel](https://docs.python.org/2/library/logging.html#logging-levels) rather than a string as it's...

The documentation for splunklib.binding.Context.connect() says it returns "A Socket", but it actually returns a splunklib.binding.Context object.

$ echo hola | ./submit.py --host my.splunk --port 8089 --username=admin --password=pwd --eventsource=foo my.index Traceback (most recent call last): File "./submit.py", line 83, in main(sys.argv[1:]) File "./submit.py", line 59, in main...

Hi, We have a tool that generates CSVs to stdout and we are trying to pipe its output to examples/submit.py in order to create an event in Splunk for each...

Here, we should check if validate_input is not defined, and return 0... otherwise business as usual https://github.com/splunk/splunk-sdk-python/blob/master/splunklib/modularinput/script.py#L92

I promised myself I wouldn't gripe about how long it took us to figure out that there was a bug in the SDK and not in our code or in...

Current splunklib/modularinput/event.py does not support text encoding other than unicode. Refer to the attachment for a possible solution. ![screen shot 2014-07-23 at 4 39 18 pm](https://cloud.githubusercontent.com/assets/3509037/3670523/e0b89daa-1244-11e4-8c60-e3c1026a2381.png)