# logswan mit Homebrew, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für logswan in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:logswan
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install logswan
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install logswan
```

  Evidenz: Debian stable package indexes: logswan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Paketfakten

- **Paketschlüssel:** brew:logswan
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/logswan>
- **Version:** 2.1.17
- **Quellzusammenfassung:** Fast Web log analyzer using probabilistic data structures
- **Homepage:** <https://www.logswan.org>
- **Repository:** <https://github.com/fcambus/logswan>
- **Upstream-Dokumentation:** <https://www.logswan.org/>
- **Lizenz:** BSD-2-Clause
- **Quellarchiv:** <https://github.com/fcambus/logswan/archive/refs/tags/2.1.17.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-02T00:18:32Z
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- logswan (cli)
- logswan (Alias)

## Abhängigkeiten

- jansson
- libmaxminddb

## Build-Abhängigkeiten

- cmake

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 2.1.17
- Manager aktualisiert: 2026-07-02
- lokale Daten: OK
- Upstream-Repository: https://github.com/fcambus/logswan
- neueste erkannte Version: 2.1.17 (aktuell)
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://api.github.com/repos/fcambus/logswan>
- <https://github.com/fcambus/logswan#readme>
- <https://github.com/fcambus/logswan/releases/tag/2.1.16>
- <https://www.logswan.org/>
- source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **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:** stable

## Andere Paketmanager-Einträge

- Debian apt - logswan - 2.1.15-1: normalized package name match | Debian stable package indexes: logswan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast Web log analyzer using probabilistic data structures | https://github.com/fcambus/logswan
- Ubuntu apt - logswan - 2.1.14-2: normalized package name match | Ubuntu 24.04 LTS package indexes: logswan from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast Web log analyzer using probabilistic data structures | https://github.com/fcambus/logswan


## Verwandte Links

- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/de/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [libmaxminddb](https://www.automicvault.com/de/pkg/brew/libmaxminddb/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/de/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [apache-arrow](https://www.automicvault.com/de/pkg/brew/apache-arrow/) - Shares av.db curated category or tags: analytics, cli, data.
- [cubejs-cli](https://www.automicvault.com/de/pkg/brew/cubejs-cli/) - Shares av.db curated category or tags: analytics, cli, data.
- [duckdb](https://www.automicvault.com/de/pkg/brew/duckdb/) - Shares av.db curated category or tags: analytics, cli, data.
- [hive](https://www.automicvault.com/de/pkg/brew/hive/) - Shares av.db curated category or tags: analytics, cli, data.
- [metabase](https://www.automicvault.com/de/pkg/brew/metabase/) - Shares av.db curated category or tags: analytics, cli, data.
- [monetdb](https://www.automicvault.com/de/pkg/brew/monetdb/) - Shares av.db curated category or tags: analytics, cli, data.
- [opensearch](https://www.automicvault.com/de/pkg/brew/opensearch/) - Shares av.db curated category or tags: analytics, cli, data.
- [opensearch-dashboards](https://www.automicvault.com/de/pkg/brew/opensearch-dashboards/) - Shares av.db curated category or tags: analytics, cli, data.
- [goaccess](https://www.automicvault.com/de/pkg/brew/goaccess/) - Local package facts share a topical domain. Shared terms: analysis, analytics, analyzer, cli, libmaxminddb.
- [avro-c](https://www.automicvault.com/de/pkg/brew/avro-c/) - Local package facts share a topical domain. Shared terms: cli, data, jansson.

## Combined YAML source

View the package source record on GitHub. [combined/logswan.yml](https://github.com/automic-vault/db/blob/main/combined/logswan.yml)


## Quellen

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