{"id":18096014,"url":"https://github.com/carlo-colombo/streamlog","last_synced_at":"2025-04-06T03:21:32.936Z","repository":{"id":227999094,"uuid":"772805467","full_name":"carlo-colombo/streamlog","owner":"carlo-colombo","description":"single elixir script to ingest, visualize, and filter logs from your system","archived":false,"fork":false,"pushed_at":"2025-03-11T08:23:14.000Z","size":9694,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T09:29:04.243Z","etag":null,"topics":["elixir"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/carlo-colombo.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":"2024-03-16T00:05:14.000Z","updated_at":"2025-03-11T08:23:20.000Z","dependencies_parsed_at":"2024-03-29T23:34:12.901Z","dependency_job_id":"4ea97e45-2279-4de2-8877-940cf02c3106","html_url":"https://github.com/carlo-colombo/streamlog","commit_stats":null,"previous_names":["carlo-colombo/streamlog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Fstreamlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Fstreamlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Fstreamlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Fstreamlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlo-colombo","download_url":"https://codeload.github.com/carlo-colombo/streamlog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427786,"owners_count":20937347,"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":["elixir"],"created_at":"2024-10-31T19:12:12.908Z","updated_at":"2025-04-06T03:21:32.912Z","avatar_url":"https://github.com/carlo-colombo.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# streamlog\n\nLocal log viewer supporting filtering and highlighting all in a single elixir script, using Phoenix Live View through `phoenix_playground`.\n\n* Regex based filtering and highlighting\n* Filtered out logs are retained (until streamlog runs)\n\n```bash\ntail -f some-log-file | \u003cpath-to\u003e/streamlog.exs --open --port 9090 --title 'some-log-file logs'\n```\n\n![streamlog filtering ngnix logs](./streamlog-s.gif)\n\n## Usage\n\nDownload `streamlog.exs` and ensure is executable `chmod+x`\n\n```bash\ntail -f some-log-file | \u003cpath-to\u003e/streamlog.exs --open --port 9090 --title 'some-log-file logs'\n```\n\nor\n\n```bash\n./some-program-loggin-on-stdout | \u003cpath-to\u003e/streamlog.exs --port 9091 --title 'program logs'\n```\n\n## Options\n\n* `--port` to run on a different port than the defaul (5051)\n* `--title` to assign a title to the page\n* `--open` open Streamlog in the browser\n\n## Technicalities\n\n* logs are stored in an ets table in memory.\n* streamlog exposes Phoenix Live Dashboard on `/dashboard` for debug purpose and curiosity.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlo-colombo%2Fstreamlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlo-colombo%2Fstreamlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlo-colombo%2Fstreamlog/lists"}