Send

Send

Certified
Enterprise Edition

Send events to Splunk HTTP Event Collector

yaml
type: io.kestra.plugin.ee.splunk.events.Send
yaml
id: splunk_hec_send
namespace: company.team

tasks:
  - id: send
    type: io.kestra.plugin.ee.splunk.events.Send
    host: http-inputs.splunkcloud.com
    port: "443"
    token: "{{ secret('SPLUNK_HEC_TOKEN') }}"
    eventData: '{"level": "INFO", "message": "Workflow completed"}'
    sourcetype: myapp:events
    index: main

yaml
id: splunk_hec_file
namespace: company.team

tasks:
  - id: send
    type: io.kestra.plugin.ee.splunk.events.Send
    host: http-inputs.splunkcloud.com
    token: "{{ secret('SPLUNK_HEC_TOKEN') }}"
    inputFile: "{{ outputs.previous_task.uri }}"
    sourcetype: myapp:batch
Properties
Definitions
allowFailedbooleanstring
Defaultfalse
allowedResponseCodesarray
SubTypeinteger
auth
type*Requiredobject
passwordstring
usernamestring
type*Requiredobject
tokenstring
type*Requiredobject
passwordstring
usernamestring
basicAuthPasswordDeprecatedstring
basicAuthUserDeprecatedstring
connectTimeoutDeprecatedstring
Formatduration
connectionPoolIdleTimeoutDeprecatedstring
Formatduration
defaultCharsetstring
DefaultUTF-8
followRedirectsbooleanstring
Defaulttrue
logLevelDeprecatedstring
Possible Values
ALLTRACEDEBUGINFOWARNERROROFFNOT_SPECIFIED
logsarray
SubTypestring
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY
maxContentLengthDeprecatedinteger
proxy
addressstring
passwordstring
portintegerstring
typestring
DefaultDIRECT
Possible Values
DIRECTHTTPSOCKS
usernamestring
proxyAddressDeprecatedstring
proxyPasswordDeprecatedstring
proxyPortDeprecatedinteger
proxyTypeDeprecatedstring
Possible Values
DIRECTHTTPSOCKS
proxyUsernameDeprecatedstring
readIdleTimeoutDeprecatedstring
Formatduration
readTimeoutDeprecatedstring
Formatduration
ssl
insecureTrustAllCertificatesbooleanstring
timeout
connectTimeoutstring
readIdleTimeoutstring
DefaultPT5M
Default443
Defaulthttps