Package org.apache.beam.sdk.io.splunk
Class SplunkEvent
java.lang.Object
org.apache.beam.sdk.io.splunk.SplunkEvent
A
SplunkEvent
describes a single payload sent to Splunk's Http Event Collector (HEC)
endpoint.
Each object represents a single event and related metadata elements such as:
- time
- host
- source
- sourceType
- index
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevent()
abstract @Nullable JsonObject
fields()
host()
index()
static SplunkEvent.Builder
Provides a builder for creatingSplunkEvent
objects.source()
time()
-
Constructor Details
-
SplunkEvent
public SplunkEvent()
-
-
Method Details
-
newBuilder
Provides a builder for creatingSplunkEvent
objects. -
time
-
host
-
source
-
sourceType
-
index
-
fields
-
event
-