dmit / slct-rs

SLCT (simple logfile clustering tool) in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slct-rs

Build Status

SLCT (simple logfile clustering tool) in Rust. Based on ideas by Risto Vaarandi.

Usage

slct [<input_files...>] [-c <cluster-threshold>] [-w <word-threshold>] [-l <max-line-length>] [-r] [-m]

Options:
  -c, --cluster-threshold
                    display only clusters with at least this many instances
  -w, --word-threshold
                    only consider words with at least this many appearances for
                    clustering
  -l, --max-line-length
                    discard lines longer than this many bytes
  -r, --show-rare   display the clusters below the instance threshold rather
                    than the common ones above it
  -m, --merge-lines consider lines with leading whitespace as continuation of
                    the previous line for clustering purposes
  --help            display usage information

Build

cargo build --release

or

cargo install --path .

to automatically place the binary in $PATH.

License

The Unlicense.

About

SLCT (simple logfile clustering tool) in Rust.

License:The Unlicense


Languages

Language:Rust 100.0%