{"id":26962225,"url":"https://github.com/indatawetrust/nginx-log-analyzer","last_synced_at":"2025-04-09T15:23:12.700Z","repository":{"id":285800601,"uuid":"959430849","full_name":"indatawetrust/nginx-log-analyzer","owner":"indatawetrust","description":"A lightweight and easy-to-use Node.js tool for analyzing Nginx log files","archived":false,"fork":false,"pushed_at":"2025-04-02T19:15:56.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T19:21:31.514Z","etag":null,"topics":["analyzer","cli","http","log","logs","monitoring","nginx"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indatawetrust.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-02T19:15:27.000Z","updated_at":"2025-04-02T19:17:10.000Z","dependencies_parsed_at":"2025-04-02T19:21:34.570Z","dependency_job_id":"3b328b23-d783-4f89-b9d7-b0850abc1cd9","html_url":"https://github.com/indatawetrust/nginx-log-analyzer","commit_stats":null,"previous_names":["indatawetrust/nginx-log-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Fnginx-log-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Fnginx-log-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Fnginx-log-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Fnginx-log-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indatawetrust","download_url":"https://codeload.github.com/indatawetrust/nginx-log-analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055996,"owners_count":21040292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analyzer","cli","http","log","logs","monitoring","nginx"],"created_at":"2025-04-03T05:19:29.149Z","updated_at":"2025-04-09T15:23:12.678Z","avatar_url":"https://github.com/indatawetrust.png","language":"JavaScript","readme":"# Nginx Log Analyzer\n\nA lightweight and easy-to-use Node.js tool for analyzing Nginx log files. It provides insights such as the total number of requests, HTTP status codes distribution, and the most frequently accessed URLs.\n\n## Features\n\n- Analyze Nginx log files in the **Combined Log Format**.\n- Count total requests and categorize them by HTTP status codes.\n- Identify the most frequently accessed URLs.\n- Simple and intuitive CLI interface.\n\n## Installation\n\nInstall the package via npm:\n\n```bash\nnpm install -g nginx-log-analyzer\n```\n\n## Usage\n\nRun the tool in your terminal by specifying the path to your Nginx log file:\n\n```bash\nnginx-log-analyzer /path/to/access.log\n```\n\nOutput\n```\n--- Log Analysis Results ---\n\nTotal Requests: 1523\n\nHTTP Status Codes:\n  200: 1400\n  404: 50\n  500: 10\n\nMost Frequently Accessed URLs:\n  /home: 350\n  /about: 200\n  /contact: 150\n\nTop Browsers:\n  Chrome: 2 (40.00%)\n  Mobile Safari: 1 (20.00%)\n  Mobile Chrome: 1 (20.00%)\n  Edge: 1 (20.00%)\n```\n\n## Requirements\n- Node.js v14 or higher\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findatawetrust%2Fnginx-log-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findatawetrust%2Fnginx-log-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findatawetrust%2Fnginx-log-analyzer/lists"}