5 ms·
I've been doing similar but with much more advanced bash script since about 2010 :-) I haven't used Google Analytics, after I learned how they use this data. I
by tux 5y ago
I've been doing similar but with much more advanced bash script since about 2010 :-) I haven't used Google Analytics, after I learned how they use this data. I just never even thought about sharing this, because I thought no one would care. But I find like minded people on HN all the time ^_^ It's much cooler if you use this as a live script to watch for traffic. You can filter out only the pages you want to see for example. If there is any interest, I can share my scripts ;-)
- samstave 5y agoPlease share
- fidesomnes 5y ago2nd share request
- zeeshanqureshi 5y agoJoining the line. Please do share.
- tux 5y agoNothing special really, but you asked for it ^_^ https://github.com/tuxys/bash/blob/main/tail.sh https://github.com/tuxys/bash/blob/main/tail.sh This script is for nginx web server, but I'm sure with some modification it will work on other web servers like apache. EDIT: Later after some rewrite, I will also publish "stats.sh" a tiny script that generates daily/monthly/yearly static logs.
- zeeshanqureshi 5y agoThanks!