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

Modular Input Script should accept inputs if validate_input is not set

Open shakeelmohamed opened this issue 12 years ago • 1 comments

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

shakeelmohamed avatar Jun 10 '14 19:06 shakeelmohamed

Nevermind, we're using Python inheritance to setup a default validate_input method

shakeelmohamed avatar Jun 10 '14 19:06 shakeelmohamed