pub struct LogFileIntakeSource { /* private fields */ }Expand description
Log-file intake source for structured application or CI logs.
The current implementation scans UTF-8 log lines and emits one IntakeEvent
for each line matching common failure patterns such as error, panic,
fatal, or exception.
Implementations§
Trait Implementations§
Source§impl Clone for LogFileIntakeSource
impl Clone for LogFileIntakeSource
Source§fn clone(&self) -> LogFileIntakeSource
fn clone(&self) -> LogFileIntakeSource
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 LogFileIntakeSource
impl Debug for LogFileIntakeSource
Source§impl Default for LogFileIntakeSource
impl Default for LogFileIntakeSource
Source§impl IntakeSource for LogFileIntakeSource
impl IntakeSource for LogFileIntakeSource
Source§fn source_type(&self) -> IntakeSourceType
fn source_type(&self) -> IntakeSourceType
Get the source type
Source§fn process(&self, payload: &[u8]) -> IntakeResult<Vec<IntakeEvent>>
fn process(&self, payload: &[u8]) -> IntakeResult<Vec<IntakeEvent>>
Process incoming data and extract potential issues
Auto Trait Implementations§
impl Freeze for LogFileIntakeSource
impl RefUnwindSafe for LogFileIntakeSource
impl Send for LogFileIntakeSource
impl Sync for LogFileIntakeSource
impl Unpin for LogFileIntakeSource
impl UnsafeUnpin for LogFileIntakeSource
impl UnwindSafe for LogFileIntakeSource
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