Package org.apache.beam.sdk.io.splunk
Class SplunkWriteSchemaTransformConfiguration
java.lang.Object
org.apache.beam.sdk.io.splunk.SplunkWriteSchemaTransformConfiguration
@DefaultSchema(AutoValueSchema.class)
public abstract class SplunkWriteSchemaTransformConfiguration
extends Object
Configuration for writing to Splunk's Http Event Collector (HEC).
This class is meant to be used with SplunkWriteSchemaTransformProvider.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates aSplunkWriteSchemaTransformConfiguration.Builderinstance.abstract @Nullable ErrorHandlingabstract StringgetToken()abstract StringgetUrl()voidvalidate()
-
Constructor Details
-
SplunkWriteSchemaTransformConfiguration
public SplunkWriteSchemaTransformConfiguration()
-
-
Method Details
-
validate
public void validate() -
builder
Instantiates aSplunkWriteSchemaTransformConfiguration.Builderinstance. -
getUrl
@SchemaFieldDescription("The Splunk HEC endpoint URL, e.g. https://splunk-host:8088.") public abstract String getUrl() -
getToken
-
getBatchCount
@SchemaFieldDescription("The number of events to batch together for each write.") public abstract @Nullable Integer getBatchCount() -
getParallelism
@SchemaFieldDescription("The number of parallel requests to the HEC endpoint.") public abstract @Nullable Integer getParallelism() -
getDisableCertificateValidation
@SchemaFieldDescription("Whether to disable SSL certificate validation, e.g. for self-signed certificates.") public abstract @Nullable Boolean getDisableCertificateValidation() -
getRootCaCertificatePath
@SchemaFieldDescription("Path to a root CA certificate used to validate the HEC endpoint.") public abstract @Nullable String getRootCaCertificatePath() -
getEnableBatchLogs
@SchemaFieldDescription("Whether to log the result of each batch write.") public abstract @Nullable Boolean getEnableBatchLogs() -
getEnableGzipHttpCompression
@SchemaFieldDescription("Whether requests sent to the HEC endpoint should be GZIP encoded. Defaults to true.") public abstract @Nullable Boolean getEnableGzipHttpCompression() -
getErrorHandling
@SchemaFieldDescription("Specifies how to handle errors.") public abstract @Nullable ErrorHandling getErrorHandling()
-