[Open Source] An open-source, lightweight Nginx log analysis tool developed in Go
Open SourceProcess Management
![[Open Source] An open-source, lightweight Nginx log analysis tool developed in Go](https://yy123.ink/api/img/1782599582183-zjkxm8.jpg)
1. Project Overview
NixVis
NixVis is an open-source, lightweight Nginx log analysis tool developed in Go, specifically designed for self-hosted environments. It provides intuitive data visualization and comprehensive statistical analysis to help you monitor key metrics such as website traffic, traffic sources, and geographic distribution in real time. It can be quickly deployed and used without complicated configuration.
2. Open Source License
Licensed under MIT
3. Screenshots



4. Feature Overview
Features
- Comprehensive Traffic Metrics
Real-time statistics for unique visitors (UV), page views (PV), and traffic data - Geographic Distribution
Visualized maps showing traffic sources across China and worldwide - Detailed Traffic Rankings
Rankings for URLs, referrers, browsers, operating systems, and device types - Time Series Analysis
Supports viewing traffic trends by hour and by day - Multi-Site Support
Monitor traffic data from multiple websites simultaneously - Incremental Log Parsing
Automatically scans Nginx log files, parses and stores the latest data - High-Performance Queries
Uses lightweight SQLite for storage, combined with a multi-level caching strategy to deliver fast responses - Embedded Resources
Frontend resources and IP databases are embedded in the executable, eliminating the need to deploy additional static files
5. Tech Stack
Quick Start
Supports log paths with automatic rotation (see Instructions for details)
Compile from Source Code
If you want to compile NixVis from source, follow these steps:
Docker Deployment
If you need to analyze multiple log files, consider mounting the entire log directory (e.g.,
/var/log/nginx:/var/log/nginx:ro)。
Tech Stack
- Backend
:Go language (Gin framework, ip2region geographic location lookup) - Frontend
:Native HTML5/CSS3/JavaScript (ECharts map visualization, Chart.js charts)
下载地址 免费
评论