Splunk Sink
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Send data to Splunk either by using "submit" or "stream" mode.
The payload MUST be in json format.
Configuration Options
The following table summarizes the configuration options available for the splunk-sink
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Password | Required The password to authenticate to Splunk Server. | string | |||
Splunk Server Address | Required The address of your Splunk server. | string | my_server_splunk.com | ||
Username | Required The username to authenticate to Splunk Server. | string | |||
Splunk App | The app name in Splunk. | string | |||
Connection Timeout | Timeout in milliseconds when connecting to Splunk server. | integer | 5000 | ||
Index | Splunk index to write to. | string | |||
Mode | The mode to publish events to Splunk. Enum values: * submit * stream | string | stream | ||
Protocol | Connection Protocol to Splunk server. Enum values: * http * https | string | https | ||
Splunk Server Port | The address of your Splunk server. | integer | 8089 | ||
Source | The source named field of the data. | string | |||
Source Type | The source named field of the data. | string |
Dependencies
At runtime, the splunk-sink
Kamelet relies upon the presence of the following dependencies:
-
camel:core
-
camel:splunk
-
camel:kamelet
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:timer-source"
parameters:
period: 10000
message: 'test'
steps:
- to:
uri: "kamelet:splunk-sink"
You can now run it directly through the following command
camel run route.yaml