uniqish

command module
v0.0.0-...-9d40a61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

README

Uniqish

A log filtering program inspired by uno.

Looks like the company behind uno was acquired some time ago, I think the same blog content is still available though.

After reading the above blog post, I set out to build something that sounds similar. To be clear, I don't know how uno works other than what is described in the post, and I'm pretty sure it's more sophisticated than described.

How to get it

go get -u github.com/jhjaggars/uniqish

How to use it

uniqish < /path/to/logfile

How it works

By default the program will attempt to filter out log lines that look similar to some defined amount of previous lines. This is implemented by using a frecency cache (the most recent and frequently accessed lines).

Each line is compared to each line in the cache by skipping a common-ish prefix and then taking the edit distance.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL