Module format

Source
Expand description

A collection of formats that can be used to convert from structured events to byte frames.

Structs§

AvroSerializer
Serializer that converts an Event to bytes using the Apache Avro format.
AvroSerializerConfig
Config used to build a AvroSerializer.
AvroSerializerOptions
Apache Avro serializer options.
CefSerializer
Serializer that converts an Event to the bytes using the CEF format. CEF:{version}|{device_vendor}|{device_product}|{device_version>|{device_event_class}|{name}|{severity}|{encoded_fields}
CefSerializerConfig
Config used to build a CefSerializer.
CsvSerializer
Serializer that converts an Event to bytes using the CSV format.
CsvSerializerConfig
Config used to build a CsvSerializer.
GelfSerializer
Serializer that converts an Event to bytes using the GELF format. Spec: https://docs.graylog.org/docs/gelf
GelfSerializerConfig
Config used to build a GelfSerializer.
JsonSerializer
Serializer that converts an Event to bytes using the JSON format.
JsonSerializerConfig
Config used to build a JsonSerializer.
JsonSerializerOptions
Options for the JsonSerializer.
LogfmtSerializer
Serializer that converts an Event to bytes using the logfmt format.
LogfmtSerializerConfig
Config used to build a LogfmtSerializer.
NativeJsonSerializer
Serializer that converts an Event to bytes using the JSON format.
NativeJsonSerializerConfig
Config used to build a NativeJsonSerializer.
NativeSerializer
Serializer that converts an Event to bytes using the Vector native protobuf format.
NativeSerializerConfig
Config used to build a NativeSerializer.
ProtobufSerializer
Serializer that converts an Event to bytes using the Protobuf format.
ProtobufSerializerConfig
Config used to build a ProtobufSerializer.
ProtobufSerializerOptions
Protobuf serializer options.
RawMessageSerializer
Serializer that converts an Event to bytes by extracting the message key.
RawMessageSerializerConfig
Config used to build a RawMessageSerializer.
TextSerializer
Serializer that converts a log to bytes by extracting the message key, or converts a metric to bytes by calling its Display implementation.
TextSerializerConfig
Config used to build a TextSerializer.

Traits§

Serializer
Serialize a structured event into a byte frame.