Skip to content

oneShotSearch issue #85

Closed
Closed
@oOBlinkOo

Description

@oOBlinkOo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions