Interface SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- SplunkHECEndpointBuilderFactory
public static interface SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Splunk HEC component.
-
-
Method Summary
-
-
-
Method Detail
-
bodyOnly
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder bodyOnly(boolean bodyOnly)
Send only the message body. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
bodyOnly
- the value to set- Returns:
- the dsl builder
-
bodyOnly
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder bodyOnly(String bodyOnly)
Send only the message body. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
bodyOnly
- the value to set- Returns:
- the dsl builder
-
headersOnly
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder headersOnly(boolean headersOnly)
Send only message headers. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
headersOnly
- the value to set- Returns:
- the dsl builder
-
headersOnly
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder headersOnly(String headersOnly)
Send only message headers. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
headersOnly
- the value to set- Returns:
- the dsl builder
-
host
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder host(String host)
Splunk host. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
host
- the value to set- Returns:
- the dsl builder
-
index
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder index(String index)
Splunk index to write to. The option is a: <code>java.lang.String</code> type. Default: camel Group: producer- Parameters:
index
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
source
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder source(String source)
Splunk source argument. The option is a: <code>java.lang.String</code> type. Default: camel Group: producer- Parameters:
source
- the value to set- Returns:
- the dsl builder
-
sourceType
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder sourceType(String sourceType)
Splunk sourcetype argument. The option is a: <code>java.lang.String</code> type. Default: camel Group: producer- Parameters:
sourceType
- the value to set- Returns:
- the dsl builder
-
time
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder time(Long time)
Time this even occurred. By default, the time will be when this event hits the splunk server. The option is a: <code>java.lang.Long</code> type. Group: producer- Parameters:
time
- the value to set- Returns:
- the dsl builder
-
time
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder time(String time)
Time this even occurred. By default, the time will be when this event hits the splunk server. The option will be converted to a <code>java.lang.Long</code> type. Group: producer- Parameters:
time
- the value to set- Returns:
- the dsl builder
-
https
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder https(boolean https)
Contact HEC over https. The option is a: <code>boolean</code> type. Default: true Group: security- Parameters:
https
- the value to set- Returns:
- the dsl builder
-
https
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder https(String https)
Contact HEC over https. The option will be converted to a <code>boolean</code> type. Default: true Group: security- Parameters:
https
- the value to set- Returns:
- the dsl builder
-
skipTlsVerify
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder skipTlsVerify(boolean skipTlsVerify)
Splunk HEC TLS verification. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
skipTlsVerify
- the value to set- Returns:
- the dsl builder
-
skipTlsVerify
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder skipTlsVerify(String skipTlsVerify)
Splunk HEC TLS verification. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Parameters:
skipTlsVerify
- the value to set- Returns:
- the dsl builder
-
-