{"id":24208899,"url":"https://github.com/schm1tz1/log-analysis-sqlite","last_synced_at":"2026-06-05T08:32:00.360Z","repository":{"id":260432158,"uuid":"623512769","full_name":"Schm1tz1/log-analysis-sqlite","owner":"Schm1tz1","description":"Scripting tools for simple log analysis with Python and SQLite","archived":false,"fork":false,"pushed_at":"2023-04-04T14:16:41.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-14T01:21:24.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Schm1tz1.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":"2023-04-04T14:16:35.000Z","updated_at":"2023-04-04T14:16:45.000Z","dependencies_parsed_at":"2024-10-31T09:52:36.008Z","dependency_job_id":null,"html_url":"https://github.com/Schm1tz1/log-analysis-sqlite","commit_stats":null,"previous_names":["schm1tz1/log-analysis-sqlite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schm1tz1%2Flog-analysis-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schm1tz1%2Flog-analysis-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schm1tz1%2Flog-analysis-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schm1tz1%2Flog-analysis-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Schm1tz1","download_url":"https://codeload.github.com/Schm1tz1/log-analysis-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241686689,"owners_count":20003108,"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":"2025-01-14T01:19:20.235Z","updated_at":"2026-06-05T08:32:00.333Z","avatar_url":"https://github.com/Schm1tz1.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# log-analysis-sqlite - scripting tools for simple log analysis with Python and SQLite\nThis is a small script using [sqlite-utils](https://sqlite-utils.datasette.io/en/stable/) to import logs into sqlite.\nIt is inspired by the blog post from [Jeqo](https://jeqo.github.io/notes/2022-09-24-ingest-logs-sqlite/) and was extended to parse logs from Confluent-for-Kubernetes.\n\nI modified the regexp to analyze the CFK-based logs.\nSo far these 2 regular expressions are supported - feel free to add more:\n- Java log4j: https://regex101.com/r/2AxwfE/1\n- Confluent-for-Kubernetes: https://regex101.com/r/pMzqPU/1\n\nUsage example:\n`./sqlite-import.sh -i ./logs/kafka0.log -c kafka-0 -t kafka -f CFK -d ./logs.db`\n\nA wrapper-script example is provided as `sqlite-import.sh` and some simple analysis statement can be found in `sqlite-examples.sql`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschm1tz1%2Flog-analysis-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschm1tz1%2Flog-analysis-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschm1tz1%2Flog-analysis-sqlite/lists"}