Automic VaultAutomic Vault

brew

使用 Homebrew, apt 安装 logswan

查看 logswan 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install logswan

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install logswan

Debian stable package indexes · logswan · 来源: deb.debian.org

概览

软件包摘要

Fast Web log analyzer using probabilistic data structures

命令和别名

  • logswan

历史

项目历史与用法

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.

时间线

  • 2015: Official GitHub repository created.
  • 2021: 2.1.12 release published.
  • 2025: 2.1.15 release published.
  • 2026: 2.1.16 release published.

Related projects

  • Logswan belongs to the family of web-log analyzers, but its README differentiates it by using HyperLogLog counters and by avoiding broad format support.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
logswancli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本2.1.17
管理器更新时间2026-07-02
本地数据OK
上游当前
检测到的最新版本2.1.17

https://github.com/fcambus/logswan

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:logswan
版本2.1.17
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/logswan
主页https://www.logswan.org
仓库https://github.com/fcambus/logswan
上游文档https://www.logswan.org/
许可证BSD-2-Clause
源码归档https://github.com/fcambus/logswan/archive/refs/tags/2.1.17.tar.gz
最后更新2026-07-02T00:18:32Z
Pulseupdated
依赖jansson, libmaxminddb
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelogswan
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

logswan 2.1.15-1

fast Web log analyzer using probabilistic data structures

https://github.com/fcambus/logswan

sudo apt install logswan
  • Section: web
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Logswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: logswan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

logswan 2.1.14-2

fast Web log analyzer using probabilistic data structures

https://github.com/fcambus/logswan

sudo apt install logswan
  • Section: universe/web
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Logswan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: logswan from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment