News for hackers. Stuff that matters.
Re:Uno: a uniq like CLI tool for log data by jlgaddis on Friday November 30, 2018 @03:45PM (#18572470)
> Looking at a sample of the logs it’s obvious that there is both repetition and structure in this data – similarly structured messages repeat with different parameters, dates, numbers, file names, etc. This seems like a great candidate for some automation, let’s see what we can do!

While "uno" is, perhaps, "cooler", logcheck [0] has been around for ages and does just this -- go through your log files, weed out all the stuff that you don't care about, and mails you anything else (which, by definition, is all the stuff you do care about).

Logcheck doesn't use "fuzziness" or uniqueness or any intelligence or anything like that -- just regexes -- but I end up with one single mail per day that only takes me a minute or two to sift through.

Additionally, logcheck is open source.

[0]: http://logcheck.org

Re:Uno: a uniq like CLI tool for log data by justaj on Friday November 30, 2018 @11:39PM (#18575202)
I'm not really sure it's still an active project:

  └─$  git clone git://git.debian.org/git/logcheck/logcheck.git
  Cloning into 'logcheck'...
  fatal: unable to connect to git.debian.org:
  moszumanska.debian.org[0: 5.153.231.21]: errno=No route to host
  moszumanska.debian.org[1: 2001:41c8:1000:21::21:21]: errno=Network is unreachable
Also none of their mailing lists seem to exist anymore: http://logcheck.org/lists.html
Re:Uno: a uniq like CLI tool for log data by jlgaddis on Saturday December 01, 2018 @04:57AM (#18576118)
Nowadays it lives on Debian's self-hosted GitLab instance [0].

[0]: https://salsa.debian.org/debian/logcheck

Re:Uno: a uniq like CLI tool for log data by CupOfJava on Friday November 30, 2018 @04:00PM (#18572574)
Do you have to setup the regexes ahead of time or does logcheck automatically compute the regexes?
Re:Uno: a uniq like CLI tool for log data by michaelmior on Friday November 30, 2018 @04:16PM (#18572690)
> Normal entries are entries which match one of the many included regular expression files contain in the database.

I haven't used logcheck, but I assume you can add your own regexes, but looks like you have something to start with.

Re:Uno: a uniq like CLI tool for log data by jlgaddis on Saturday December 01, 2018 @05:00AM (#18576122)
It ships with a ton of "rules" [0]. You can choose to use just those, just your own, or some or all of both.

[0]: https://salsa.debian.org/debian/logcheck/tree/master/rulefil...