{"id":13840944,"url":"https://github.com/JeffXue/web-log-parser","last_synced_at":"2025-07-11T09:34:07.370Z","repository":{"id":31977855,"uuid":"35548035","full_name":"JeffXue/web-log-parser","owner":"JeffXue","description":"An open source analysis web log tool","archived":false,"fork":false,"pushed_at":"2022-06-21T21:14:47.000Z","size":1574,"stargazers_count":424,"open_issues_count":2,"forks_count":117,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-05T17:26:15.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/JeffXue.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}},"created_at":"2015-05-13T12:34:52.000Z","updated_at":"2024-07-31T14:53:29.000Z","dependencies_parsed_at":"2022-08-07T17:01:12.550Z","dependency_job_id":null,"html_url":"https://github.com/JeffXue/web-log-parser","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/JeffXue%2Fweb-log-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffXue%2Fweb-log-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffXue%2Fweb-log-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffXue%2Fweb-log-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeffXue","download_url":"https://codeload.github.com/JeffXue/web-log-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225712875,"owners_count":17512506,"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":[],"created_at":"2024-08-04T17:01:00.046Z","updated_at":"2024-11-21T10:31:01.449Z","avatar_url":"https://github.com/JeffXue.png","language":"HTML","funding_links":[],"categories":["HTML","HTML (177)"],"sub_categories":[],"readme":"## web-log-parser\n**web-log-parser** is an open source analysis web log tool, developed in python language, with flexible log format configuration\n\n[中文说明文档](https://github.com/JeffXue/web-log-parser/blob/master/README_ch.md)\n\n---\n\n## Example\n![example picture](https://raw.githubusercontent.com/JeffXue/web-log-parser/master/example_en.png)\n\n---\n\n## Instructions\n1. store the logs files in the data directory `./data`\n2. modify config.ini\n3. install requirements `pip install -r requirements.txt`\n3. start the analysis in bin dir`cd ./bin \u0026\u0026 python start.py`\n4. check html result in result dir `result/index.html`\n\n---\n\n## Configuration\n\n### Format\n- log-pattern: regular expression for parsing logs\n- log-format: log content format, corresponding log-pattern match. The following configuration items are supported by default.：\n    - ip： request IP\n    - real_ip： user real IP. If this option is configured, ip configuration will be ignored, and real_ip will be used for statistics.\n    - datetime： request access time\n    - url： request url\n    - method： request method\n    - protocol： request protocol\n    - cost: request cost\n\n### Filter\n- support_method: supported request method, otherwise no statistics\n- is_with_parameters: enable flag for statistics url parameter，By default, the parameters in the URL will be converted, such as? Key = 123 when converting to key = {key}\n- urls_most_number: the maximum number of URLs separately counted\n- custom_parameters: configure special parameter key-value pairs, separated by commas, when configured t = {timeStamp}, the value of t key will be replaced with a fixed {timeStamp}\n- fixed_parameter_keys: configure special parameter key values, separated by commas, when configured key = 123,  will not be replaced with key = {key}\n- ignore_urls: urls will be ignore\n- static-file: file suffixes will be ignore\n\n### Report\n- language: the language use in the report\n    - chinese\n    - english\n- second_line_flag: enable flags for PV curve graph per second\n- cost_time_flag: enable flags for response time interval proportion map and response time distribution map\n\n### GoAccess\n- goaccess_flag: whether to get GoAccess analysis results, set to 1: Get, 0: Do not get (requires GoAccess installed)\n- time-format: time format, for GoAccess\n- date-format: date format, for GoAccess\n- goaccess-log-format: log format，for GoAccess\n\n\n\n\n\n    \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJeffXue%2Fweb-log-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJeffXue%2Fweb-log-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJeffXue%2Fweb-log-parser/lists"}