Closed
Description
Im using the library to create jobs and get the info, it works fine but right now i try to export my results in csv using this:
service.oneshotSearch(query, { output_mode:"csv" }, (err, newJob) => {
console.log(newjob) // <- this is always json
})
https://docs.splunk.com/DocumentationStatic/JavaScriptSDK/1.8.4/splunkjs.Service.html#splunkjs.Service-oneshotSearch
show that is posible to send: csv,xml but this is always return json. any idea?