pub type LogDrainConfig = SingleSourceSection;Expand description
The log_drain.yaml schema. Every field optional, same names as
trusty-mpm’s log_drain: section.
Aliased Type§
pub struct LogDrainConfig {
pub enabled: Option<bool>,
pub destination: Option<String>,
pub interval_secs: Option<u64>,
pub max_file_bytes: Option<u64>,
pub max_wire_bytes: Option<u64>,
pub secrets: Vec<String>,
pub owner: Option<String>,
pub project: Option<String>,
}Fields§
§enabled: Option<bool>Whether the scheduler runs at all. None/Some(false) → disabled.
destination: Option<String>Destination URI — s3://bucket/prefix or file:///abs/path.
interval_secs: Option<u64>Seconds between passes. None → [DEFAULT_INTERVAL_SECS].
max_file_bytes: Option<u64>Plaintext source ceiling. None → the collector’s own default.
max_wire_bytes: Option<u64>Compressed-body ceiling. None → the collector’s own default.
secrets: Vec<String>Extra literal strings scrubbed from every body before upload.
owner: Option<String>Repository owner, when the daemon has no bound project (or its root has no git origin).
project: Option<String>Project name, paired with [SingleSourceSection::owner].