Send HEC Event
splunk.send_hec_event
ActionBusiness appsconnection required
Calls the Splunk API with the connection's credentials.
Send an event via the HTTP Event Collector.
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
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
event Event payload (JSON or string). | object | Yes | — | — | — |
source Event source. | string | No | — | — | — |
index Target index. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
sent | boolean | — |
{
"sent": false
}Related Splunk nodes
See Send HEC Event 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.