I am currently getting this failure when running my add-on through appinspect:
check_inputs_conf_spec_stanzas_has_python_version_property
My README/inputs.conf.spec
[autofocus_export://<name>]
python.version = python3
label =
interval =
AppInspect Report:
Modular input "autofocus_export" is defined in README/inputs.conf.spec, python.version should be explicitly set to python3 under each stanza. File: README/inputs.conf.spec Line Number: 1
Current documentation for inputs.conf.spec doesn't mention using python.version. Any help would be appreciate
After Splunk version 8, Splunk is expecting python3 for any TA/app development.
if you have already developed your TA using python 3 just use
python.version= python3
in your inputs.conf
https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Inputsconf
After Splunk version 8, Splunk is expecting python3 for any TA/app development.
if you have already developed your TA using python 3 just use
python.version= python3
in your inputs.conf
https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Inputsconf
What about the TA that was developed earlier which supports both 8.1 and < 8.1?
Thank you. The App Inspect error is misleading. It makes it seem like we need to add it into inputs.conf.spec file.
I removed it from inputs.conf.spec and added it to only inputs.conf and it now passes.
great.