Package org.apache.beam.sdk.io.splunk
Class SplunkWriteSchemaTransformProvider
java.lang.Object
org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<SplunkWriteSchemaTransformConfiguration>
org.apache.beam.sdk.io.splunk.SplunkWriteSchemaTransformProvider
- All Implemented Interfaces:
SchemaTransformProvider
@AutoService(SchemaTransformProvider.class)
public class SplunkWriteSchemaTransformProvider
extends TypedSchemaTransformProvider<SplunkWriteSchemaTransformConfiguration>
An implementation of
TypedSchemaTransformProvider for writing to Splunk's Http Event
Collector (HEC) using SplunkIO.
Each input row is converted to a SplunkEvent. The row must contain a string
event field, and may contain time (INT64), host, source,
sourcetype and index (strings) and fields (a row or a JSON object string). Any
other fields are ignored.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<SplunkWriteSchemaTransformConfiguration> protected SchemaTransformfrom(SplunkWriteSchemaTransformConfiguration configuration) Returns the expectedSchemaTransformof the configuration.Implementation of theTypedSchemaTransformProvideridentifier method.Implementation of theTypedSchemaTransformProviderinput collection names method.Implementation of theTypedSchemaTransformProvideroutput collection names method.Methods inherited from class org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider
configurationSchema, dependencies, fromMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.schemas.transforms.SchemaTransformProvider
description
-
Field Details
-
ERROR_TAG
-
EVENT_TAG
-
-
Constructor Details
-
SplunkWriteSchemaTransformProvider
public SplunkWriteSchemaTransformProvider()
-
-
Method Details
-
configurationClass
- Overrides:
configurationClassin classTypedSchemaTransformProvider<SplunkWriteSchemaTransformConfiguration>
-
from
Returns the expectedSchemaTransformof the configuration.- Specified by:
fromin classTypedSchemaTransformProvider<SplunkWriteSchemaTransformConfiguration>
-
identifier
Implementation of theTypedSchemaTransformProvideridentifier method. -
inputCollectionNames
Implementation of theTypedSchemaTransformProviderinput collection names method. -
outputCollectionNames
Implementation of theTypedSchemaTransformProvideroutput collection names method.
-