News for hackers. Stuff that matters.
Re:Show HN: Logparser – Alternative to GoAccess Written in P... by eatonphil on Thursday September 23, 2021 @08:53AM (#28628401)
On a tangent, I've been looking into log parsing for an application I'm building recently.

If you want to support pulling info out of common logs it's pretty simple to pull together a list of regexes for the default log format in each major system. Simple example here: https://github.com/multiprocessio/datastation/blob/master/sh....

I use this in the app to be able to quickly pull info out of access logs for further analysis a la OP's app and GoAccess but in a GUI where you can also do further processing.

Demo video of this here: https://www.youtube.com/watch?v=sCx2mF2jyUQ&t=9s.

Re:Show HN: Logparser – Alternative to GoAccess Written in P... by linuxdude314 on Thursday September 23, 2021 @11:32AM (#28630666)
You can find a very comprehensive list of regex patterns looking at the logstash’s grok definitions:

https://github.com/logstash-plugins/logstash-patterns-core/t...