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 JsonObjectfields()host()index()static SplunkEvent.BuilderProvides a builder for creatingSplunkEventobjects.source()time()
-
Constructor Details
-
SplunkEvent
public SplunkEvent()
-
-
Method Details
-
newBuilder
Provides a builder for creatingSplunkEventobjects. -
time
-
host
-
source
-
sourceType
-
index
-
fields
-
event
-