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
I encounter the same issue and unfortunately I don't understand the solution.
My App leverages an `inputs.conf.spec` to expose a modular input , hence no `inputs.conf` is defined. How/where can I set the requested `python.version= python3 ` if no inputs.conf file exists ?
If you have inputs.conf.spec then there should be inputs.conf under default directory.
if your app doesn’t have default inputs.conf then also you can just create same stanza name like inputs.conf.spec in default inputs.conf and specify python version.
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.