public interface ElasticSearchEventSerializer extends Configurable, ConfigurableComponent
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.common.io.BytesStream |
getContentBuilder(Event event)
Return an
BytesStream made up of the serialized flume event |
configure
configure
static final Charset charset
org.elasticsearch.common.io.BytesStream getContentBuilder(Event event) throws IOException
BytesStream
made up of the serialized flume eventevent
- The flume event to serializeBytesStream
used to write to ElasticSearchIOException
- If an error occurs during serializationCopyright © 2009-2017 Apache Software Foundation. All Rights Reserved.