tipping-rs

Crates.iotipping-rs
lib.rstipping-rs
version0.2.1
created_at2024-02-11 22:38:52.933318+00
updated_at2025-09-21 19:50:41.889631+00
descriptionA Rust implementation of Token Interdependency Parsing (Tipping) algorithm
homepage
repositoryhttps://github.com/shshemi/tipping-rs
max_upload_size
id1136151
size55,218
Shayan Hashemi (shshemi)

documentation

README

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
Commit count: 60

cargo fmt