Skip to content

An implementation of Tipping log parsing algorithm in Rust.

License

Notifications You must be signed in to change notification settings

shshemi/tipping-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tipping - Token Interdependency Parsing

Tests

Tipping is a high-performance and flexible log parsing library. It leverages a rule based tokenizer to extract subtokens and interdependencies between them to cluster log messages and predict their templates and parameter masks. It is built with speed and efficiency in mind, capable of utilizing all available processor cores to accelerate the parsing process. At its core, Tipping is written in Rust to ensure maximum performance and stability while offering Python bindings for ease of use and integration into log analysis researches and projects.

Installation

cargo add tipping-rs

Usage

Load your log messages into a list of strings (Vec<String>) and:

    let msgs: Vec<String>;
    let (event_ids, masks, templates) = tipping_rs::Parser::default()
        .with_threshold(threshold)
        .with_special_whites(special_whites)
        .with_special_blacks(special_blacks)
        .with_symbols(symbols)
        .with_filter_alphabetic(filter.alphabetic)
        .with_filter_numeric(filter.numeric)
        .with_filter_impure(filter.impure)
        .compute_templates()
        .compute_masks()
        .parse(msgs);

Cite

will be filled upon publication

About

An implementation of Tipping log parsing algorithm in Rust.

Resources

License

Stars

Watchers

Forks

Languages