이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 74. Splunk Source
Retrieve data from Splunk and outputs in json format.
For the fields accepting time specifiers like earliestTime, Splunk accepts a wide variety of formats, please check Splunk documentation for more information.
74.1. Configuration Options 링크 복사링크가 클립보드에 복사되었습니다!
The following table summarizes the configuration options available for the splunk-source Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| initEarliestTime * | Init Earliest Time | Initial start offset of the first search. | string | 05/17/22 08:35:46:456 | |
| password * | Password | The password to authenticate to Splunk Server. | string | ||
| query * | Query | The Splunk query to run. | string | ||
| serverHostname * | Splunk Server Address | The address of your Splunk server. | string | my_server_splunk.com | |
| username * | Username | The username to authenticate to Splunk Server. | string | ||
| app | Splunk App | The app name in Splunk. | string | ||
| connectionTimeout | Connection Timeout | Timeout in milliseconds when connecting to Splunk server | integer | ||
| count | Count | The maximum number of entities to return. | integer | ||
| delay | Delay | The number of milliseconds before the next poll. | integer | ||
| earliestTime | Earliest Time | Earliest time of the search time window. | string | 05/17/22 08:35:46:456 | |
| index | Index | Splunk index to write to. | string | ||
| latestTime | Latest Time | Latest time of the search time window. | string | 05/17/22 08:35:46:456 | |
| protocol | Protocol | Connection Protocol to Splunk server. | string | https | |
| repeat | Repeat | The maximum number of fires. | integer | ||
| serverPort | Splunk Server Port | The address of your Splunk server. | integer | 8089 | |
| source | Source | The source named field of the data. | string | ||
| sourceType | Source Type | The source named field of the data. | string |
* = Fields marked with an asterisk are mandatory.
74.2. Dependencies 링크 복사링크가 클립보드에 복사되었습니다!
74.2.1. Quarkus dependencies 링크 복사링크가 클립보드에 복사되었습니다!
74.3. Usage 링크 복사링크가 클립보드에 복사되었습니다!
74.3.1. Camel JBang usage 링크 복사링크가 클립보드에 복사되었습니다!
74.3.1.1. Prerequisites for Jbang 링크 복사링크가 클립보드에 복사되었습니다!
- You must have installed JBang.
- You must have executed the following command.
jbang app install camel@apache/camel
jbang app install camel@apache/camel
For example, you have a file named route.yaml with this content.
You can now run it directly through the following command
camel run route.yaml
camel run route.yaml
74.3.2. Knative Source 링크 복사링크가 클립보드에 복사되었습니다!
You must use the splunk-source Kamelet as a Knative source by binding it to a Knative object.
splunk-source-binding.yaml
74.3.3. Kafka Source 링크 복사링크가 클립보드에 복사되었습니다!
You must use the splunk-source Kamelet as a Kafka source by binding it to a Kafka topic.
splunk-source-binding.yaml