On 2015/11/05 14:42, Joerg Jung wrote:
> On Mon, Nov 02, 2015 at 06:46:08PM +0100, Frederic Cambus wrote:
> > Hello ports@,
> >
> > Here is a new port attached : www/logswan
> >
> > Tested on amd64.
> >
> > From DESCR :
> >
> > Logswan is a fast Web log analyzer using probabilistic data structures. It
> > is
> > targeted at very large log files, typically APIs logs. It has constant
> > memory
> > usage regardless of the log file size, and takes approximatively 4MB of RAM.
> >
> > Unique visitors counting is performed using two HyperLogLog counters (one
> > for
> > IPv4, and another one for IPv6), providing a relative accuracy of 0.10%.
>
> Port looks good to me. Nice tiny tool.
>
> One minor nit: GeoIP{v6}.dat is installed in /var/db/GeoIP under
> OpenBSD and logswan should use these files
Yes, that needs fixing, actually it should be ${LOCALSTATEDIR}/db/GeoIP.
Also needs NO_TEST.
New version attached. OK to import?
Frederic, it would be nice if it would have a way to output the json file
somewhere other than ${INPUTFILE}.json - had you considered just writing to
stdout? (A manual would be nice too ;)
logswan.tgz
Description: application/tar-gz
