Log analysis for statistics Lassi Kortela 06 Aug 2022 14:29 UTC

> One think that would be nice is some kind of analytics for the clicks. It's
> not tracking just count how many times the link was open it may be useful for
> people that create those links. This is not private data so this can be
> public to everyone. But I'm not sure how difficult it will be to add.
>
> yourls have counter but also nice graph that show when people visited the
> page and from what countery (probably based on IP address).

If I've understood correctly, Magnus allows us to crunch the server-side
nginx logs to generate anonymous statistics. I just tried out the old
Unix program `analog` to do that.

It generates reports like this: https://servers.scheme.org/analog/go

The "Redirection Report" shows the most popular redirects:
https://servers.scheme.org/analog/go/#redir

Analog has tons of options
(https://allstar.jhuapl.edu/repo/p1/amd64/analog/doc/docs/indx.html). We
could also try some other log analyzer that runs on the server.