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

Cannot create a conf file

Open ansman opened this issue 15 years ago • 1 comments

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)

ansman avatar Nov 08 '11 23:11 ansman

Fix checked into develop.

blovering avatar Apr 19 '12 20:04 blovering