Skip to main content

Module sinks

Module sinks 

Source
Expand description

Built-in event sinks that dogfood the plugin API.

Each sink implements EventSink and registers via inventory::submit! so it is auto-discovered by crate::PluginRegistryBuilder::with_auto_discovered().

Use create_sink to construct a concrete sink from an EventSinkConfig.

Modules§

jsonl
JSONL file sink — appends events as newline-delimited JSON.
stdout
Stdout event sink — writes events as JSON to stderr.
webhook
Webhook event sink — POSTs events as JSON to an HTTP endpoint.

Structs§

EventSinkConfig
Sink configuration entry — matches the agent YAML schema.

Functions§

create_sink
Create a concrete EventSink from a config entry.