./www/logswan, Fast Web log analyzer using probabilistic data structures

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.10, Package name: logswan-2.1.10, Maintainer: fcambus

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%.

Project design goals include : speed, memory-usage efficiency, and keeping the
code as simple as possible.


Required to run:
[textproc/jansson] [geography/libmaxminddb]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 6be9314c138e89d0c88483f6880fdfdf5261fbe6
RMD160: 6a270b2f236e12b9fadded839373a79366c81abf
Filesize: 23.995 KB

Version history: (Expand)


CVS history: (Expand)


   2021-02-15 14:14:05 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.10.

Logswan 2.1.10 (2021-02-15)

- Only call MMDB_close if the GeoIP option was enabled. This fixes a
  crash on program exit on OpenBSD when running without the GeoIP
  option enabled.
   2021-02-15 13:06:50 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.9.

Logswan 2.1.9 (2021-02-15)

- Stop forcing FORTIFY_SOURCE=2, it should be package builders decision
- Add link to Homebrew package in the README
- Remove unused countryId variable
- Remove dead increments for argc and argv
- Rename variables to get rid of all camelCase occurences
- Remove the measuring Logswan memory usage section from the README
- Try to harmonize usage information everywhere
- Rename the displayUsage() function to usage()
- Rename all the parse*() functions to use snake_case
- Get rid of global variables, move all declarations to main()
   2020-10-20 15:08:13 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.8.

Logswan 2.1.8 (2020-10-19)

- Make displayUsage() static
- Removing some leading whitespace characters
- Constify methods and protocols names array
- Constify countries and continents names and ID arrays
- Enable FORTIFY_SOURCE level 2
- Call memset() to set all entry_data struct fields to zero
   2020-09-17 10:50:04 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.7.

Logswan 2.1.7 (2020-09-17)

- Add a Perl program to generate an example MMDB database for testing
- Add a new test case to exercise the IP geolocation codepaths
- Add support for seccomp on arm
- Add missing test for __NR_mmap, the mmap syscall doesn't exist on arm
   2020-07-03 17:06:00 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.6.

Logswan 2.1.6 (2020-07-03)

- Validate architectures for seccomp
- Minor code shuffling, for consistency with other codebases
- Add seccomp support on i386, tested on glibc and musl
- Remove entry for "Netherlands Antilles" in country table
- Swaziland was officially renamed to Eswatini in 2018
- Macedonia was officially renamed to North Macedonia in February 2019
- Rename Vatican City to Vatican to be consistent with GeoNames naming
- Rename Aland to Aland Islands to be consistent with GeoNames naming
   2020-06-12 10:23:04 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.5.

Logswan 2.1.5 (2020-06-12)

- Switch the GEOIP2DIR example to point to '/var/db/dbip'
- Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available
- Remove unneeded <sys/select.h> and <sys/types.h> includes
- Add missing <stddef.h> include
- Remove useless _POSIX_SOURCE define
- Remove useless _POSIX_C_SOURCE 199309L define
- Define _GNU_SOURCE in CMakeLists.txt to avoid cluttering source files
- No need to set HAVE_SECCOMP to 1, defining it is enough
- Remove some unneeded seccomp related includes
   2020-03-30 12:06:38 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.4.

pkgsrc changes:

- Added GITHUB_RELEASE directives to fetch release file
- Tweak CMAKE_ARGS to reflect upstream GEOIP2DIR changes
- Remove the 'do-test' target and switch to using upstream tests

ChangeLog:

Logswan 2.1.4 (2020-03-27)

- Move GEOIP2DB definition to CMakeLists.txt, allowing build time
  customization
- Display database path name in error message
- Remove direct link to GeoLite2 databases
- Add dependencies installation instruction for Fedora
- Change GEOIP2DB default value to "dbip-country-lite.mmdb"
- Change GEOIP2DIR default value to "${CMAKE_INSTALL_PREFIX}/share/dbip"
- Mention that DB-IP IP to Country Lite database is now the recommended option
   2020-01-19 22:03:59 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.3.

Logswan 2.1.3 (2020-01-17)

- Add a new test target, to test log processing
- Move printed statistics after the actual output
- Use OpenBSD style(9) for function prototypes and declarations
- Remove seccomp mention in README as it is currently disabled by default