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.EndpointProducerBuilderBuilder for endpoint for the Splunk HEC component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SplunkHECEndpointBuilderFactory.AdvancedSplunkHECEndpointBuilderadvanced()default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderbodyOnly(boolean bodyOnly)Send only the message body.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderbodyOnly(String bodyOnly)Send only the message body.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderheadersOnly(boolean headersOnly)Send only message headers.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderheadersOnly(String headersOnly)Send only message headers.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderhost(String host)Splunk host field of the event message.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderhttps(boolean https)Contact HEC over https.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderhttps(String https)Contact HEC over https.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderindex(String index)Splunk index to write to.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderskipTlsVerify(boolean skipTlsVerify)Splunk HEC TLS verification.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilderskipTlsVerify(String skipTlsVerify)Splunk HEC TLS verification.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuildersource(String source)Splunk source argument.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuildersourceType(String sourceType)Splunk sourcetype argument.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuildersplunkEndpoint(String splunkEndpoint)Splunk endpoint Defaults to /services/collector/event To write RAW data like JSON use /services/collector/raw For a list of all endpoints refer to splunk documentation (HTTP Event Collector REST API endpoints) Example for Spunk 8.2.x: https://docs.splunk.com/Documentation/SplunkCloud/8.2.2203/Data/HECRESTendpoints To extract timestamps in Splunk8.0 /services/collector/eventauto_extract_timestamp=true Remember to utilize RAW{} for questionmarks or slashes in parameters.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuildertime(Long time)Time this even occurred.default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuildertime(String time)Time this even occurred.
-
-
-
Method Detail
-
advanced
default SplunkHECEndpointBuilderFactory.AdvancedSplunkHECEndpointBuilder advanced()
-
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 field of the event message. This is not the Splunk host to connect to. 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
-
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
-
splunkEndpoint
default SplunkHECEndpointBuilderFactory.SplunkHECEndpointBuilder splunkEndpoint(String splunkEndpoint)
Splunk endpoint Defaults to /services/collector/event To write RAW data like JSON use /services/collector/raw For a list of all endpoints refer to splunk documentation (HTTP Event Collector REST API endpoints) Example for Spunk 8.2.x: https://docs.splunk.com/Documentation/SplunkCloud/8.2.2203/Data/HECRESTendpoints To extract timestamps in Splunk8.0 /services/collector/eventauto_extract_timestamp=true Remember to utilize RAW{} for questionmarks or slashes in parameters. The option is a: <code>java.lang.String</code> type. Default: /services/collector/event Group: producer- Parameters:
splunkEndpoint- 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
-
-