{"id":23602778,"url":"https://github.com/perryflynn/thebestlogparserintheworld","last_synced_at":"2026-05-02T02:33:01.943Z","repository":{"id":269392844,"uuid":"264834730","full_name":"perryflynn/thebestlogparserintheworld","owner":"perryflynn","description":"The best webserver log parser in the world.","archived":false,"fork":false,"pushed_at":"2024-12-21T19:59:24.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T15:00:05.909Z","etag":null,"topics":["access-logs","analytics","apache","log-parser","nginx","statistics"],"latest_commit_sha":null,"homepage":"","language":"C#","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/perryflynn.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":"2020-05-18T05:20:44.000Z","updated_at":"2024-12-21T20:17:21.000Z","dependencies_parsed_at":"2024-12-23T09:19:57.813Z","dependency_job_id":"b711a856-9827-43e1-9a9a-59a774df301e","html_url":"https://github.com/perryflynn/thebestlogparserintheworld","commit_stats":null,"previous_names":["perryflynn/thebestlogparserintheworld"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/perryflynn/thebestlogparserintheworld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perryflynn%2Fthebestlogparserintheworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perryflynn%2Fthebestlogparserintheworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perryflynn%2Fthebestlogparserintheworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perryflynn%2Fthebestlogparserintheworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perryflynn","download_url":"https://codeload.github.com/perryflynn/thebestlogparserintheworld/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perryflynn%2Fthebestlogparserintheworld/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32520898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["access-logs","analytics","apache","log-parser","nginx","statistics"],"created_at":"2024-12-27T12:13:09.372Z","updated_at":"2026-05-02T02:33:01.918Z","avatar_url":"https://github.com/perryflynn.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tHE bEST lOG pARSER iN tHE wORLD\n\nA access log parser to create basic statistics from huge log files.\n\n## Analyze Benchmark\n\n4 Cores, 16 GB RAM:\n\n```md\n## Single Thread\n\nTook 4,810.503 seconds (80.167 minutes)\nProcessed 14 files\nProcessed 445,052,807 lines\nProcessed 92,516.897 lines per second\n\n## 3 Threads\n\nTook 2,439.198 seconds (40.653 minutes)\nProcessed 32 files\nProcessed 445,289,011 lines\nProcessed 182,555.498 lines per second\n```\n\n## Run\n\nThis tool is developed with .NET Core.\n\nTo run it, the .NET Core Runtime Environment is required:\n\n```sh\ndotnet run -- --help\n```\n\nOr it must build in self-contained mode:\n\n```sh\nmkdir dist\ndotnet publish -c Release -r linux-x64 --self-contained -o dist/\ncd dist\n./logsplit --help\n```\n\n## State of development\n\nEarly alpha, this tool is just for nerds at the moment.\n\n## Quickstart\n\n### Init repository\n\n```sh\nmkdir /home/christian/weblogs\nlogsplit init -d /home/christian/weblogs -f examplewebsite\ncd /home/christian/weblogs\n```\n\n(See `logsplit init --help` for more info)\n\n### Put logs into import folder\n\nNow you can put all log files from the website\n`examplewebsite` into `/home/christian/weblogs/input/examplewebsite`.\n\nInside of the folder is also a `loginfo.json`, which contains the configuration\nfor parsing the access logs. This should fit for NGINX logs when the filename\nformat is something like `example-access.log.1.gz`.\n\nJust edit the JSON file if something is not working.\n\n### Import\n\nThe import splits the logfiles into one access log per\nhost, per hostgroup, per month.\n\n```sh\ncd /home/christian/weblogs\nlogsplit import\n```\n\nWhen something goes wrong while importing, just delete all\n`*.new` files in `/home/christian/weblogs/repository` and try again.\n\n(See `logsplit import --help` for more info)\n\n### Analyze\n\nThe analyze process parses the log files and generates a summary JSON\nfile which can be used to generate the actual statistics.\n\nAfter this process, the raw accesslogs are not needed anymore.\n\n```\ncd /home/christian/weblogs\nlogsplit analyze\n```\n\n(See `logsplit analyze --help` for more info)\n\n### Create statistics\n\nThis module is in a very early state.\n\nMaybe C# Skills are required to get the infos that you desire.\n\n```sh\nlogsplit statistic -p \"-access_log_examplewebsite-\"\n```\n\nThe `-p` parameter is a regular expression which must match a `.gz.json`\nfile in the repository folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperryflynn%2Fthebestlogparserintheworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperryflynn%2Fthebestlogparserintheworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperryflynn%2Fthebestlogparserintheworld/lists"}