Module format

Module format 

Source
Expand description

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

Structs§

ArrowStreamSerializer
Arrow IPC stream batch serializer that holds the schema
ArrowStreamSerializerConfig
Configuration for Arrow IPC stream serialization
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.
OtlpSerializer
Serializer that converts an Event to bytes using the OTLP (OpenTelemetry Protocol) protobuf format.
OtlpSerializerConfig
Config used to build an OtlpSerializer.
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.
SyslogSerializer
Serializer that converts an Event to bytes using the Syslog format.
SyslogSerializerConfig
Config used to build a SyslogSerializer.
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.

Enums§

ArrowEncodingError
Errors that can occur during Arrow encoding

Traits§

SchemaProvider
Provides Arrow schema for encoding.
Serializer
Serialize a structured event into a byte frame.