Skip to main content

Module event_forwarder

Module event_forwarder 

Source
Expand description

Client-side forwarding of local audit events to the backend. Client-side forwarding of locally produced audit events to the backend.

The forwarder reads new events from the local JSONL audit log, batches them, and submits each batch to the backend event ingest endpoint with an idempotency key so retries are safe. A checkpoint file under .ito/.state/ tracks the last forwarded line offset to avoid re-sending the entire log on each invocation.

Structs§

ForwardResult
Result of a forwarding run, used for CLI diagnostics.
ForwarderConfig
Configuration for the event forwarder.

Functions§

forward_events
Forward new local audit events to the backend.