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

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


Branch: CURRENT, Version: 2.1.4, Package name: logswan-2.1.4, 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: 0336be016b7ef4f49a8b812125bb7511003b02b6
RMD160: b05f6d425abae1d020a43a2cf6f20a4886a12a53
Filesize: 20.002 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2019-11-19 12:25:27 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.2.

Logswan 2.1.2 (2019-11-19)

- Add ENABLE_SECCOMP build option, to allow building seccomp support
  conditionally
- Disable seccomp by default, it needs more testing on non !amd64 platforms
- Use ${CMAKE_INSTALL_BINDIR} instead of hardcoding 'bin'
   2019-10-31 11:45:34 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.1.

Logswan 2.1.1 (2019-10-30)

- Check if system has seccomp in CMakeLists.txt
- Use the HAVE_SECCOMP macro to check whether or not to enable seccomp
- Define and use a GEOIP2DB macro to specify GeoLite2 database name
- Add a switch (-d) to allow specifying path to a GeoIP2 database file
- Define and use a LOGSWAN_SYSCALL_ALLOW macro to make code more readable
- Adding missing #include guard in seccomp.h header file
- Use __NR_ instead of SYS_ prefix in LOGSWAN_SYSCALL_ALLOW
- Fix the build on aarch64 Linux, where the open() syscall does not exist
- Add error checking for both prctl() calls
   2019-10-29 10:18:08 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: update to 2.1.0.

ChangeLog:

Logswan 2.1.0 (2019-10-23)

- Add FALLTHROUGH comments where appropriate
- Add support for parsing HTTP/3 requests
- Add initial seccomp support on Linux, tested on musl and glibc systems
   2019-08-17 00:07:15 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
logswan: Update to 2.0.4.

ChangeLog:

Logswan 2.0.4 (2019-08-16)

- Adding #include guard in compat header file
- Add an example log file and regenerate output example
- Add dependencies installation instructions for NetBSD and FreeBSD
- Add final dots for options descriptions
- Add final dot when printing results summary
- Use EXIT_SUCCESS and EXIT_FAILURE macros for return values
- Add a trailing newline when printing JSON output

OK kamil@
   2019-01-17 22:56:09 by Kamil Rytarowski | Files touched by this commit (2) | Package updated
Log message:
logswan: Update to 2.0.3

Update submitted by Frederic Cambus, the upstream developer of this package.

author's notes
==============

Notable changes:

- Logswan now links against geography/libmaxminddb instead of net/GeoIP
- Take back MAINTAINER, as I'm upstream for this package

upstream changelog
==================

Logswan 2.0.3 (2018-10-15)

- Use -std=c11, Logswan requires a C11 compiler for libmaxminddb
- Enable support for parsing HTTP/2.0 requests, for real this time
- Revert back to using INT64_MAX for strtonum() maxval, as maxval is long long
  and using UINT64_MAX caused bandwidth parsing to always fail (Thanks James Loh
  for reporting the issue)
- Move maps of countries and continents to separate files

Logswan 2.0.2 (2018-08-05)

- Use UINT64_MAX for strtonum() maxval
- Add missing headers and reorder includes
- Add support for HTTP/2.0

Logswan 2.0.1 (2018-06-27)

- Do not use -Werror by default
- Do not always call inet_pton two times per log line, this speeds things up
- Use bool types for isIPv4 and isIPv6
- Use the monotonic clock to determine runtime
- Move conditional includes for 'pledge' and 'strtonum' in compat.h

Logswan 2.0.0 (2018-03-16)

- Use type off_t for results struct member fileSize
- Reflect OpenBSD's pledge() changes
- Switch to using libmaxminddb and GeoIP2/GeoLite2 databases
- Add Antarctica to the list of continents
   2017-08-16 22:21:18 by Thomas Klausner | Files touched by this commit (180)
Log message:
Follow some http redirects.