Hi,
I am using Splunk Enterprise and I need to be able to write into the outputs.conf file using the browser. I haven't found the right endpoint yet so I am just wondering if it is possible.
Thanks
Try this ,
http://docs.splunk.com/Documentation/Splunk/6.0/RESTAPI/RESTconfig#POST_configs.2Fconf-.7Bfile.7D
Below works for me
curl -k https://localhost:8089/servicesNS/nobody/search/configs/conf-outputs -d name=test_output_endpoint -d SHOULD_LINEMERGE=false
bin]$ ./splunk btool outputs list test_output_endpoint
[test_output_endpoint]
SHOULD_LINEMERGE = false
Try this ,
http://docs.splunk.com/Documentation/Splunk/6.0/RESTAPI/RESTconfig#POST_configs.2Fconf-.7Bfile.7D
Below works for me
curl -k https://localhost:8089/servicesNS/nobody/search/configs/conf-outputs -d name=test_output_endpoint -d SHOULD_LINEMERGE=false
bin]$ ./splunk btool outputs list test_output_endpoint
[test_output_endpoint]
SHOULD_LINEMERGE = false
Thanks, this is what I was looking for.