logswan
« Back to VersTracker
Description:
Fast Web log analyzer using probabilistic data structures
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: log-analysis analytics web-server data-science cli
Install: brew install logswan
About:
Logswan is a high-performance web log analyzer designed for large-scale log processing. It utilizes probabilistic data structures like HyperLogLog and Count-Min Sketch to provide accurate approximations of unique visitors and top pages. This approach enables extremely fast analysis with minimal memory usage, making it ideal for real-time reporting on massive log files.
Key Features:
  • Uses HyperLogLog for fast unique visitor counting
  • Processes logs with minimal memory footprint
  • Supports Common Log Format (CLF) and Combined Log Format
  • Generates JSON output for easy integration
Use Cases:
  • Real-time analysis of high-traffic web server logs
  • Generating daily visitor statistics for large websites
  • Security auditing to identify suspicious traffic patterns
Alternatives:
  • GoAccess – GoAccess provides real-time terminal-based dashboards, while Logswan focuses on speed and low memory usage for massive datasets via probabilistic structures.
  • AWStats – AWStats offers detailed historical reports but is slower and more resource-intensive compared to Logswan's lightweight, approximation-based approach.
Version History
Detected Version Rev Change Commit
Sep 14, 2025 8:20pm 0 VERSION_BUMP 7c70ee30
Sep 14, 2024 3:22pm 0 VERSION_BUMP 86245e48