Trait usiem::components::common::LogParser[][src]

pub trait LogParser {
    fn parse_log(&self, log: SiemLog) -> Result<SiemLog, LogParsingError>;
fn device_match(&self, log: &SiemLog) -> bool;
fn name(&self) -> &str; }

A simple object with the logic to parse Logs

Required methods

fn parse_log(&self, log: SiemLog) -> Result<SiemLog, LogParsingError>[src]

fn device_match(&self, log: &SiemLog) -> bool[src]

fn name(&self) -> &str[src]

Loading content...

Implementors

Loading content...