منصوبے کے بارے میں

Log Analyzer Web UI is a self-hosted web application designed to analyze and visualize access logs from Nginx and Apache HTTPD. Users can upload log files or connect via WebSocket to monitor logs in real time as they are generated. Key features include parsing traffic data into interactive charts and graphs, filtering logs by date, IP address, request type, and other parameters, 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 deployed directly via npm or packaged as a Docker container, configurable through environment variables for port, log file path, and optional SSL certificate paths. Installation involves cloning the repository, running `npm install`, then 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 during development or the configured server address in production. Security best practices recommend using WSS with valid SSL certificates in production, setting appropriate 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.