2 releases

0.1.1 Jun 11, 2024
0.1.0 May 31, 2024

#2733 in Parser implementations

36 downloads per month

GPL-3.0 license

440KB
1K SLoC

LogHawk

A cli tool to display large CSV files

Screenshot of LogHawk

Features

Scrolling

The tool is expected to be used by forensics analysts. The idea is that you have a file, csv or txt, where you have a first column which is important for you, such as as timestamp. The remaining lines might be long, so you want to scroll to the right without losing the first column.

Customizable highlighting

This is still in work. I'm going to have customizable highlighting based on regular expression. At the moment, it is hard coded.

Installation

This tool is available via https://crates.io; you can install it using

cargo install loghawk

Usage

Usage: loghawk [OPTIONS] [FILE] [DELIMITER]

Arguments:
  [FILE]       file to display, use '-' for stdin [default: -]
  [DELIMITER]  delimiter for CSV and TXT formats [default: ,]

Options:
  -F, --format <FILE_FORMAT>  format of the input file [default: csv] [possible values: csv, txt]
  -h, --help                  Print help
  -V, --version               Print version

Dependencies

~13–23MB
~389K SLoC