News for hackers. Stuff that matters.
Re:Small statistics page showcase done via sh, Awk, log pars... by marvinblum on Wednesday March 02, 2022 @04:48AM (#30525574)
That's nice! I started similar [0], but by intercepting requests on my server instead of parsing logs. Do you filter bots? How effective is it?

[0] https://pirsch.io/blog/introduction/ (find an image below "How It Started")

Re:Small statistics page showcase done via sh, Awk, log pars... by adriangrigore on Wednesday March 02, 2022 @05:08AM (#30525687)
I'm using https://github.com/atmire/COUNTER-Robots to filter bots, I guess it's effective enough, it catches most bots. There are more lists on web with bot user agents, some free, some you have to pay for, do some Googling.

Regarding parsing logs, I preferred a 100% self hosted solution. To me, it seems _the right_ way to do it.

It's just a showcase, something I hacked up in a few hours, I already had https://adi.onl/fl.html to have analytics in the CLI, just added a web frontend to them.

Re:Small statistics page showcase done via sh, Awk, log pars... by marvinblum on Wednesday March 02, 2022 @05:09AM (#30525692)
Thanks! I will check it out :)
Re:Small statistics page showcase done via sh, Awk, log pars... by ValtteriL on Wednesday March 02, 2022 @05:15AM (#30525735)
Good work! I personally love this kind of small scripts for simple reports.

Next, try to do it all in AWK ;-)

Re:Small statistics page showcase done via sh, Awk, log pars... by adriangrigore on Wednesday March 02, 2022 @05:19AM (#30525758)
Thanks! Not sure if good idea to do it all in awk :D, it is mostly awk https://adi.onl/fl.html, sh is web frontend.
Re:Small statistics page showcase done via sh, Awk, log pars... by indigodaddy on Thursday March 03, 2022 @04:04AM (#30538805)
I’m more interested in this static site generator thingy at https://mkws.sh/
Re:Small statistics page showcase done via sh, Awk, log pars... by oraoraoraoraora on Wednesday March 02, 2022 @02:02AM (#30524570)
This is cool.
Re:Small statistics page showcase done via sh, Awk, log pars... by adriangrigore on Wednesday March 02, 2022 @02:30AM (#30524765)
Author here! Thanks!