Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 949 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 949 Bytes

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.