public class NetFlowCodec extends AbstractCodec implements MultiMessageCodec
| Modifier and Type | Class and Description |
|---|---|
static class |
NetFlowCodec.Config |
static interface |
NetFlowCodec.Factory |
AbstractCodec.DescriptorCodec.Descriptor| Modifier and Type | Field and Description |
|---|---|
static byte |
ORDERED_V9_MARKER
Marker byte which signals that the contained netflow v9 packet is non-RFC:
It contains all necessary template flows before any data flows and can be completely parsed without a template cache.
|
static byte |
PASSTHROUGH_MARKER
Marker byte which signals that the contained netflow packet should be parsed as is.
|
configuration| Modifier | Constructor and Description |
|---|---|
protected |
NetFlowCodec(Configuration configuration,
NetflowV9CodecAggregator netflowV9CodecAggregator) |
| Modifier and Type | Method and Description |
|---|---|
Message |
decode(RawMessage rawMessage) |
Collection<Message> |
decodeMessages(RawMessage rawMessage) |
CodecAggregator |
getAggregator() |
getConfiguration, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfiguration, getNamepublic static final byte PASSTHROUGH_MARKER
public static final byte ORDERED_V9_MARKER
@Inject protected NetFlowCodec(Configuration configuration, NetflowV9CodecAggregator netflowV9CodecAggregator) throws IOException
IOException@Nullable public CodecAggregator getAggregator()
getAggregator in interface CodecgetAggregator in class AbstractCodec@Nullable public Message decode(@Nonnull RawMessage rawMessage)
@Nullable public Collection<Message> decodeMessages(@Nonnull RawMessage rawMessage)
decodeMessages in interface MultiMessageCodecCopyright © 2012–2021 Graylog, Inc.. All rights reserved.