Splunk Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Retrieve data from Splunk and outputs in json format.
Configuration Options
The following table summarizes the configuration options available for the splunk-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Init Earliest Time | Required Initial start offset of the first search. | string | 05/17/22 08:35:46:456 | ||
Password | Required The password to authenticate to Splunk Server. | string | |||
Query | Required The Splunk query to run. | 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 | |||
Count | The maximum number of entities to return. | integer | |||
Delay | The number of milliseconds before the next poll. | integer | |||
Earliest Time | Earliest time of the search time window. | string | 05/17/22 08:35:46:456 | ||
Index | Splunk index to write to. | string | |||
Latest Time | Latest time of the search time window. | string | 05/17/22 08:35:46:456 | ||
Protocol | Connection Protocol to Splunk server. Enum values: * http * https | string | https | ||
Repeat | The maximum number of fires. | integer | |||
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-source
Kamelet relies upon the presence of the following dependencies:
-
camel:jackson
-
camel:core
-
camel:splunk
-
camel:kamelet
-
mvn:com.fasterxml.jackson.datatype:jackson-datatype-joda:2.12.5
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:splunk-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml
Splunk Source Kamelet Description
Authentication methods
This Kamelet connects to Splunk using appropriate authentication mechanisms:
-
Service-specific authentication methods
-
API keys, tokens, or credential-based authentication
-
Connection configuration
Configuration
The Kamelet requires connection parameters specific to Splunk:
-
Service connection details
-
Authentication credentials
-
Query or consumption parameters
Usage example
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: splunk-source-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: splunk-source
properties:
# Add service-specific properties here
sink:
ref:
kind: Service
apiVersion: v1
name: my-service