pub struct LogPipelineConfig {
pub enabled: bool,
pub sources: Vec<String>,
pub syslog_bind: String,
pub syslog_tcp_bind: String,
pub watch_paths: Vec<String>,
pub batch_size: usize,
pub flush_interval_secs: u64,
pub storage: StorageConfig,
}Expand description
로그 파이프라인 설정
Fields§
§enabled: bool활성화 여부
sources: Vec<String>수집 소스
syslog_bind: StringSyslog UDP 수신 주소
syslog_tcp_bind: StringSyslog TCP 수신 주소
watch_paths: Vec<String>파일 감시 경로
batch_size: usize배치 크기
flush_interval_secs: u64배치 플러시 간격 (초)
storage: StorageConfig스토리지 설정
Implementations§
Source§impl LogPipelineConfig
impl LogPipelineConfig
Sourcepub fn validate(&self) -> Result<(), IronpostError>
pub fn validate(&self) -> Result<(), IronpostError>
Validate log pipeline configuration values.
Trait Implementations§
Source§impl Clone for LogPipelineConfig
impl Clone for LogPipelineConfig
Source§fn clone(&self) -> LogPipelineConfig
fn clone(&self) -> LogPipelineConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogPipelineConfig
impl Debug for LogPipelineConfig
Source§impl Default for LogPipelineConfig
impl Default for LogPipelineConfig
Source§impl<'de> Deserialize<'de> for LogPipelineConfigwhere
LogPipelineConfig: Default,
impl<'de> Deserialize<'de> for LogPipelineConfigwhere
LogPipelineConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LogPipelineConfig
impl RefUnwindSafe for LogPipelineConfig
impl Send for LogPipelineConfig
impl Sync for LogPipelineConfig
impl Unpin for LogPipelineConfig
impl UnwindSafe for LogPipelineConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more