Simple and fast logs analysis utils

Rust

Installing with cargo

bash cargo install logs-anal

Usage

```bash logs-anal -h

Logs Analysis Tool 0.1.1

Mnwa

Analyze logs with comfort

#

USAGE:

logs-anal [OPTIONS] --command [INPUT]

#

FLAGS:

-h, --help Prints help information

-V, --version Prints version information

#

OPTIONS:

-k, --column Column for sorting

-c, --command Runs that command [possible values: sort, head, skip, tail, uniq, wc]

-d, --delimiter Delimiter for sorting (default is whitespace)

-n, --lines Lines for skip or take rows

-o, --order Sorting order [possible values: asc, desc]

#

ARGS:

Sets the input file to use

```

Usage example

```bash echo "Joe 56789 Sam 45678 Wendy 23456 Adam 12345 Bob 34567" | logs-anal -c sort -k 1

Adam 12345

Bob 34567

Joe 56789

Sam 45678

Wendy 23456

```

Supported tools