public interface ElasticSearchEventSerializer extends Configurable, ConfigurableComponent
| Modifier and Type | Method and Description | 
|---|---|
| org.elasticsearch.common.io.BytesStream | getContentBuilder(Event event)Return an  BytesStreammade up of the serialized flume event | 
configureconfigurestatic 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.