{"id":22352020,"url":"https://github.com/simonamdev/peek","last_synced_at":"2026-05-18T15:33:57.788Z","repository":{"id":89082100,"uuid":"81638532","full_name":"simonamdev/peek","owner":"simonamdev","description":"Get a quick statistical peek into how nginx is handling requests.","archived":false,"fork":false,"pushed_at":"2017-02-26T10:28:10.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-07-25T01:04:04.353Z","etag":null,"topics":["logging","nginx","parsing","server","statistics","web"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonamdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-02-11T07:39:17.000Z","updated_at":"2024-04-28T22:57:57.000Z","dependencies_parsed_at":"2023-03-15T19:16:01.833Z","dependency_job_id":null,"html_url":"https://github.com/simonamdev/peek","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simonamdev/peek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonamdev%2Fpeek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonamdev%2Fpeek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonamdev%2Fpeek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonamdev%2Fpeek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonamdev","download_url":"https://codeload.github.com/simonamdev/peek/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonamdev%2Fpeek/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33182904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["logging","nginx","parsing","server","statistics","web"],"created_at":"2024-12-04T12:16:55.421Z","updated_at":"2026-05-18T15:33:57.783Z","avatar_url":"https://github.com/simonamdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# peek\n\nGet a quick peek into how nginx is performing by parsing the access log and generating some basic statistics.\n\n## Requirements\n\n* Python 3.x\n* SQLite3\n\n## Usage\n\nFor taking a quick look, which stores the statistics in an in-memory instance of SQLite:\n\n```\npython3 peek.py /var/log/nginx/access.log\n```\n\nAdjust the /path/to/access.log as necessary.\n\nFor persistence of the statistics, add the --persist flag\n\n```\npython3 peek.py /var/log/nginx/access.log --persist\n```\n\nThis currently saves the statistics to the logs.db file in the same directory.\n\n## Known issues\n\n* Currently only works with nginx's default log format\n* No check to see if logs.db exists before accessing it\n\n## TODO\n\n* More meaningful error messages when passing incorrect path to access logs\n* Flag to specify path to logs database\n* Web front end to parse/display the statistics without having to be logged into the same machine\n\n## Contributions\n\nPull Requests more than welcome! :)\n\n## Licence\n\nMIT Licence","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonamdev%2Fpeek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonamdev%2Fpeek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonamdev%2Fpeek/lists"}