{"id":17658644,"url":"https://github.com/ruuda/sqlog","last_synced_at":"2025-05-07T12:44:39.364Z","repository":{"id":41292564,"uuid":"169157155","full_name":"ruuda/sqlog","owner":"ruuda","description":"Ingest Nginx logs into a SQLite database for easy querying","archived":false,"fork":false,"pushed_at":"2025-03-27T19:31:37.000Z","size":21,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T20:32:24.993Z","etag":null,"topics":["logs","nginx","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruuda.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":"2019-02-04T22:05:25.000Z","updated_at":"2025-03-27T19:31:40.000Z","dependencies_parsed_at":"2024-12-22T17:31:08.276Z","dependency_job_id":"b8f6e422-9987-455f-8c55-4d4f9713f5e1","html_url":"https://github.com/ruuda/sqlog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruuda%2Fsqlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruuda%2Fsqlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruuda%2Fsqlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruuda%2Fsqlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruuda","download_url":"https://codeload.github.com/ruuda/sqlog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252881272,"owners_count":21819138,"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":["logs","nginx","sqlite"],"created_at":"2024-10-23T15:27:49.375Z","updated_at":"2025-05-07T12:44:39.339Z","avatar_url":"https://github.com/ruuda.png","language":"Python","readme":"# Sqlog\n\nIngest Nginx logs into a SQLite database for easy querying.\n\n    $ ./sqlog.py --format COMBINED log.sqlite \u003c access.log\n\n    $ sqlite3 log.sqlite\n    \u003e select url, count(*) as n\n    \u003e from logs\n    \u003e group by url\n    \u003e order by n desc\n    \u003e limit 100\n\nThe `queries` directory contains a few interesting queries to run. Use for\nexample like so:\n\n    $ sqlite3 -header log.sqlite \u003c queries/urls_30d.sql \\\n      | column --table --separator '|' \\\n      | less --chop-long-lines\n\n(Sqlite also has `-column`, but it truncates values in combination with\n`-header`.)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruuda%2Fsqlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruuda%2Fsqlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruuda%2Fsqlog/lists"}