Run Search

splunk.oneshot_search
ActionBusiness appsconnection required

Calls the Splunk API with the connection's credentials.

Run a blocking (oneshot) SPL search.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
Splunk
Secret shape
a JSON object with token (+ hec_token for HEC)
Config it needs
base_url, hec_url
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
search
SPL (a leading search verb is added).
stringYes———
earliest
Earliest time (default -15m).
stringNo———

Output

One shape.

result

FieldTypeExample
rows
array—
row_count
number—
{
  "row_count": 0,
  "rows": []
}

Related Splunk nodes

See Run Search run in a workflow.

In a technical demo we add the Splunk connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.