macOS
brew install logswanlocal Homebrew formula metadata
brew
Fast Web log analyzer using probabilistic data structures. Version 2.1.17 via Homebrew; verified 2026-07-02.
install
brew install logswanlocal Homebrew formula metadata
sudo apt install logswanDebian stable package indexes · logswan · source: deb.debian.org
overview
Fast Web log analyzer using probabilistic data structures
history
Logswan is a fast web-log analyzer focused on very large log files, especially API logs. It uses probabilistic data structures, including HyperLogLog counters, to keep memory use constant while estimating unique visitors.
Frederic Cambus develops Logswan as intentionally opinionated software. The README states design goals of speed, memory efficiency, and simple code, and documents deliberate constraints such as Common Log Format support and byte-level reporting without rounded units.
The official GitHub repository was created in June 2015. The project remains small and C-focused, with Jansson and libmaxminddb as key dependencies and JSON output as its primary integration surface.
Logswan's adoption is modest but practical: the README lists packages for OpenBSD, NetBSD, FreeBSD, Debian, Ubuntu, Void Linux, Gentoo, and Homebrew. The supplied package facts also show Homebrew, Debian, and Ubuntu entries.
The official GitHub repository shows a long-lived niche project with hundreds of stars, a small fork count, and regular releases through the 2.1.x series.
The CLI form is `logswan [-ghv] [-d db] logfile`, with `-` accepted for standard input. Output goes to standard output as JSON, making it easy to redirect into other tools.
GeoIP lookups are optional through `-g` and `-d db`. The README documents the default GeoIP2 database directory under `${CMAKE_INSTALL_PREFIX}/share/dbip`, but this is a data-file lookup rather than a Logswan configuration file.
Logswan is interesting to package maintainers because it is a small, security-minded C tool with clear dependencies, sandboxing notes for OpenBSD pledge, optional seccomp, and deterministic JSON output. It is the opposite of a sprawling analytics stack.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
logswan | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/fcambus/logswan
install metadata
| Package key | brew:logswan |
|---|---|
| Version | 2.1.17 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/logswan |
| Homepage | https://www.logswan.org |
| Repository | https://github.com/fcambus/logswan |
| Upstream docs | https://www.logswan.org/ |
| License | BSD-2-Clause |
| Source archive | https://github.com/fcambus/logswan/archive/refs/tags/2.1.17.tar.gz |
| Last updated | 2026-07-02T00:18:32Z |
| Pulse | updated |
| Dependencies | jansson, libmaxminddb |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | logswan |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
logswan 2.1.15-1
fast Web log analyzer using probabilistic data structures
https://github.com/fcambus/logswan
sudo apt install logswanlogswan 2.1.14-2
fast Web log analyzer using probabilistic data structures
https://github.com/fcambus/logswan
sudo apt install logswansource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.