Package com.splunk.logging.serialization
Class HecJsonSerializer
- java.lang.Object
-
- com.splunk.logging.serialization.HecJsonSerializer
-
public class HecJsonSerializer extends Object
-
-
Constructor Summary
Constructors Constructor Description HecJsonSerializer(Map<String,String> metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
serialize(HttpEventCollectorEventInfo info)
void
setEventBodySerializer(EventBodySerializer eventBodySerializer)
void
setEventHeaderSerializer(EventHeaderSerializer eventHeaderSerializer)
-
-
-
Method Detail
-
serialize
public String serialize(HttpEventCollectorEventInfo info)
-
setEventBodySerializer
public void setEventBodySerializer(EventBodySerializer eventBodySerializer)
-
setEventHeaderSerializer
public void setEventHeaderSerializer(EventHeaderSerializer eventHeaderSerializer)
-
-