You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61-28Lines changed: 61 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,50 @@
1
1
This connector allows Kafka Connect to emulate a [Splunk Http Event Collector](http://dev.splunk.com/view/event-collector/SP-CAAAE6M).
2
2
This connector support receiving data and writing data to Splunk.
3
3
4
-
# Source Connector
4
+
# Configuration
5
5
6
-
The Splunk Source connector allows emulates a [Splunk Http Event Collector](http://dev.splunk.com/view/event-collector/SP-CAAAE6M) to allow
7
-
application that normally log to Splunk to instead write to Kafka. The goal of this plugin is to make the change nearly
8
-
transparent to the user. This plugin currently has support for [X-Forwarded-For](https://en.wikipedia.org/wiki/X-Forwarded-For) so
9
-
it will sit behind a load balancer nicely.
6
+
## SplunkHttpSinkConnector
10
7
11
-
## Configuration
8
+
The Sink Connector will transform data from a Kafka topic into a batch of json messages that will be written via HTTP to a configured [Splunk Http Event Collector](http://dev.splunk.com/view/event-collector/SP-CAAAE6M).
| splunk.auth.token | The authorization token to use when writing data to splunk. | password ||| high |
23
+
| splunk.remote.host | The hostname of the remote splunk host to write data do. | string ||| high |
24
+
| splunk.ssl.enabled | Flag to determine if the connection to splunk should be over ssl. | boolean | true || high |
25
+
| splunk.ssl.trust.store.password | Password for the trust store. | password |[hidden]|| high |
26
+
| splunk.ssl.trust.store.path | Path on the local disk to the certificate trust store. | string | "" || high |
27
+
| splunk.remote.port | Port on the remote splunk server to write to. | int | 8088 || medium |
28
+
| splunk.ssl.validate.certs | Flag to determine if ssl connections should validate the certificateof the remote host. | boolean | true || medium |
29
+
| splunk.connect.timeout.ms | The maximum amount of time for a connection to be established. | int | 20000 || low |
30
+
| splunk.curl.logging.enabled | Flag to determine if requests to Splunk should be logged in curl form. This will output a curl command to replicate the call to Splunk. | boolean | false || low |
31
+
| splunk.read.timeout.ms | Sets the timeout in milliseconds to read data from an established connection or 0 for an infinite timeout. | int | 30000 || low |
32
+
33
+
## SplunkHttpSourceConnector
34
+
35
+
The Splunk Source connector allows emulates a [Splunk Http Event Collector](http://dev.splunk.com/view/event-collector/SP-CAAAE6M) to allow application that normally log to Splunk to instead write to Kafka. The goal of this plugin is to make the change nearly transparent to the user. This plugin currently has support for [X-Forwarded-For](https://en.wikipedia.org/wiki/X-Forwarded-For) so it will sit behind a load balancer nicely.
| host | false |[String](https://kafka.apache.org/0102/javadoc/org/apache/kafka/connect/data/Schema.Type.html#STRING)|| The host value to assign to the event data. This is typically the hostname of the client from which you're sending data. |
| time | true |[Timestamp](https://kafka.apache.org/0102/javadoc/org/apache/kafka/connect/data/Timestamp.html)|| The event time. |
81
+
| host | true |[String](https://kafka.apache.org/0102/javadoc/org/apache/kafka/connect/data/Schema.Type.html#STRING)|| The host value to assign to the event data. This is typically the hostname of the client from which you're sending data. |
82
+
| source | true |[String](https://kafka.apache.org/0102/javadoc/org/apache/kafka/connect/data/Schema.Type.html#STRING)|| The source value to assign to the event data. For example, if you're sending data from an app you're developing, you could set this key to the name of the app. |
83
+
| sourcetype | true |[String](https://kafka.apache.org/0102/javadoc/org/apache/kafka/connect/data/Schema.Type.html#STRING)|| The sourcetype value to assign to the event data. |
84
+
| index | true |[String](https://kafka.apache.org/0102/javadoc/org/apache/kafka/connect/data/Schema.Type.html#STRING)|| The name of the index by which the event data is to be indexed. The index you specify here must within the list of allowed indexes if the token has the indexes parameter set. |
85
+
| event | true |[String](https://kafka.apache.org/0102/javadoc/org/apache/kafka/connect/data/Schema.Type.html#STRING)|| This is the event it's self. This is the serialized json form. It could be an object or a string. |
44
86
45
-
| Name | Description | Type | Default | Valid Values | Importance |
0 commit comments