4 ms·
Small statistics page showcase done via sh, Awk, log parsing and cron
- indigodaddy 5y agoI’m more interested in this static site generator thingy at https://mkws.sh/ https://mkws.sh/
- oraoraoraoraora 5y agoThis is cool.
- adriangrigore 5y agoAuthor here! Thanks!
- marvinblum 5y agoThat'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/ https://pirsch.io/blog/introduction/ (find an image below "How It Started")
- adriangrigore 5y agoI'm using https://github.com/atmire/COUNTER-Robots 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 https://adi.onl/fl.html to have analytics in the CLI, just added a web frontend to them.
- marvinblum 5y agoThanks! I will check it out :)
- ValtteriL 5y agoGood work! I personally love this kind of small scripts for simple reports. Next, try to do it all in AWK ;-)
- adriangrigore 5y agoThanks! Not sure if good idea to do it all in awk :D, it is mostly awk https://adi.onl/fl.html https://adi.onl/fl.html, sh is web frontend.