About this project

Log Analyzer Web UI is a self-hosted web application for analyzing and visualizing Nginx and Apache HTTPD access logs. Users can upload log files or connect to a real-time WebSocket stream to monitor logs as they are generated. Key features include parsing and displaying traffic data through interactive charts and graphs, filtering logs by date, IP address, request type, and other criteria, and generating performance and traffic pattern reports. The application supports both encrypted (WSS) and unencrypted (WS) WebSocket connections for live monitoring. The project includes a companion Node.js WebSocket server that tails log files and streams entries to connected clients. It can be run directly via npm or packaged as a Docker container, with environment variables for port, log file path, and optional SSL certificate paths. Installation requires cloning the repository, running `npm install`, and starting either the development server (`npm run dev`) or production build (`npm run build` followed by `npm start`). The interface is accessible at localhost:3000 for development or the configured server address in production. Security recommendations emphasize using WSS with valid SSL certificates in production, setting proper file permissions on log files, running the WebSocket server with minimal privileges, and keeping dependencies updated. The project is licensed under MIT and welcomes contributions via pull requests.