splunk-sdk-python
splunk-sdk-python copied to clipboard
Cannot create a conf file
From the REST API it's easy to enter values to a conf file that does exist.
All you need is to POST name=stanza_name to configs/conf-<name> and the file is created for you.
This doesn't work at all in the SDK.
When you try to fetch a conf file that doesn't exist you get a KeyError and the Collection doesn't support create (which is understandable seeing as you cannot create an empty conf file)
Fix checked into develop.