Interface SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
SplunkEndpointBuilderFactory.SplunkEndpointBuilder
- Enclosing interface:
- SplunkEndpointBuilderFactory
public static interface SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Splunk component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
Splunk app.connectionTimeout
(int connectionTimeout) Timeout in MS when connecting to Splunk server.connectionTimeout
(String connectionTimeout) Timeout in MS when connecting to Splunk server.Override the default Splunk event host field.Splunk host.Splunk index to write to.Splunk owner.Password for Splunk.port
(int port) Splunk port.Splunk port.raw
(boolean raw) Should the payload be inserted raw.Should the payload be inserted raw.Splunk scheme.Splunk source argument.sourceType
(String sourceType) Splunk sourcetype argument.sslProtocol
(com.splunk.SSLSecurityProtocol sslProtocol) Set the ssl protocol to use.sslProtocol
(String sslProtocol) Set the ssl protocol to use.tcpReceiverLocalPort
(Integer tcpReceiverLocalPort) Splunk tcp receiver port defined locally on splunk server.tcpReceiverLocalPort
(String tcpReceiverLocalPort) Splunk tcp receiver port defined locally on splunk server.tcpReceiverPort
(int tcpReceiverPort) Splunk tcp receiver port.tcpReceiverPort
(String tcpReceiverPort) Splunk tcp receiver port.User's token for Splunk.Username for Splunk.useSunHttpsHandler
(boolean useSunHttpsHandler) Use sun.net.www.protocol.https.Handler Https handler to establish the Splunk Connection.useSunHttpsHandler
(String useSunHttpsHandler) Use sun.net.www.protocol.https.Handler Https handler to establish the Splunk Connection.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
app
Splunk app. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
app
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder connectionTimeout(int connectionTimeout) Timeout in MS when connecting to Splunk server. The option is a: <code>int</code> type. Default: 5000 Group: common- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder connectionTimeout(String connectionTimeout) Timeout in MS when connecting to Splunk server. The option will be converted to a <code>int</code> type. Default: 5000 Group: common- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
host
Splunk host. The option is a: <code>java.lang.String</code> type. Default: localhost Group: common- Parameters:
host
- the value to set- Returns:
- the dsl builder
-
owner
Splunk owner. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
owner
- the value to set- Returns:
- the dsl builder
-
port
Splunk port. The option is a: <code>int</code> type. Default: 8089 Group: common- Parameters:
port
- the value to set- Returns:
- the dsl builder
-
port
Splunk port. The option will be converted to a <code>int</code> type. Default: 8089 Group: common- Parameters:
port
- the value to set- Returns:
- the dsl builder
-
scheme
Splunk scheme. The option is a: <code>java.lang.String</code> type. Default: https Group: common- Parameters:
scheme
- the value to set- Returns:
- the dsl builder
-
eventHost
Override the default Splunk event host field. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
eventHost
- the value to set- Returns:
- the dsl builder
-
index
Splunk index to write to. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
index
- the value to set- Returns:
- the dsl builder
-
raw
Should the payload be inserted raw. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
raw
- the value to set- Returns:
- the dsl builder
-
raw
Should the payload be inserted raw. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
raw
- the value to set- Returns:
- the dsl builder
-
source
Splunk source argument. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
source
- the value to set- Returns:
- the dsl builder
-
sourceType
Splunk sourcetype argument. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
sourceType
- the value to set- Returns:
- the dsl builder
-
tcpReceiverLocalPort
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder tcpReceiverLocalPort(Integer tcpReceiverLocalPort) Splunk tcp receiver port defined locally on splunk server. (For example if splunk port 9997 is mapped to 12345, tcpReceiverLocalPort has to be 9997). The option is a: <code>java.lang.Integer</code> type. Group: producer- Parameters:
tcpReceiverLocalPort
- the value to set- Returns:
- the dsl builder
-
tcpReceiverLocalPort
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder tcpReceiverLocalPort(String tcpReceiverLocalPort) Splunk tcp receiver port defined locally on splunk server. (For example if splunk port 9997 is mapped to 12345, tcpReceiverLocalPort has to be 9997). The option will be converted to a <code>java.lang.Integer</code> type. Group: producer- Parameters:
tcpReceiverLocalPort
- the value to set- Returns:
- the dsl builder
-
tcpReceiverPort
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder tcpReceiverPort(int tcpReceiverPort) Splunk tcp receiver port. The option is a: <code>int</code> type. Group: producer- Parameters:
tcpReceiverPort
- the value to set- Returns:
- the dsl builder
-
tcpReceiverPort
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder tcpReceiverPort(String tcpReceiverPort) Splunk tcp receiver port. The option will be converted to a <code>int</code> type. Group: producer- Parameters:
tcpReceiverPort
- the value to set- Returns:
- the dsl builder
-
password
Password for Splunk. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
sslProtocol
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder sslProtocol(com.splunk.SSLSecurityProtocol sslProtocol) Set the ssl protocol to use. The option is a: <code>com.splunk.SSLSecurityProtocol</code> type. Default: TLSv1.2 Group: security- Parameters:
sslProtocol
- the value to set- Returns:
- the dsl builder
-
sslProtocol
Set the ssl protocol to use. The option will be converted to a <code>com.splunk.SSLSecurityProtocol</code> type. Default: TLSv1.2 Group: security- Parameters:
sslProtocol
- the value to set- Returns:
- the dsl builder
-
token
User's token for Splunk. This takes precedence over password when both are set. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
token
- the value to set- Returns:
- the dsl builder
-
username
Username for Splunk. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-
useSunHttpsHandler
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder useSunHttpsHandler(boolean useSunHttpsHandler) Use sun.net.www.protocol.https.Handler Https handler to establish the Splunk Connection. Can be useful when running in application servers to avoid app. server https handling. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
useSunHttpsHandler
- the value to set- Returns:
- the dsl builder
-
useSunHttpsHandler
default SplunkEndpointBuilderFactory.SplunkEndpointProducerBuilder useSunHttpsHandler(String useSunHttpsHandler) Use sun.net.www.protocol.https.Handler Https handler to establish the Splunk Connection. Can be useful when running in application servers to avoid app. server https handling. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Parameters:
useSunHttpsHandler
- the value to set- Returns:
- the dsl builder
-