{"id":16288786,"url":"https://github.com/meaksh/uyuni-logs-visualizer","last_synced_at":"2026-04-26T22:31:46.124Z","repository":{"id":93437855,"uuid":"427370814","full_name":"meaksh/uyuni-logs-visualizer","owner":"meaksh","description":"A tool to graphically visualize events from Uyuni logs and Salt events bus","archived":false,"fork":false,"pushed_at":"2022-01-04T16:37:49.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T07:15:20.723Z","etag":null,"topics":["logging","opensuse","python","salt","saltstack","spacewalk","suse","suse-manager","uyuni"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/meaksh.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":"2021-11-12T13:31:39.000Z","updated_at":"2022-01-04T16:37:15.000Z","dependencies_parsed_at":"2023-03-06T13:45:18.848Z","dependency_job_id":null,"html_url":"https://github.com/meaksh/uyuni-logs-visualizer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/meaksh/uyuni-logs-visualizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meaksh%2Fuyuni-logs-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meaksh%2Fuyuni-logs-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meaksh%2Fuyuni-logs-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meaksh%2Fuyuni-logs-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meaksh","download_url":"https://codeload.github.com/meaksh/uyuni-logs-visualizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meaksh%2Fuyuni-logs-visualizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32315711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T21:09:39.134Z","status":"ssl_error","status_checked_at":"2026-04-26T21:09:21.240Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["logging","opensuse","python","salt","saltstack","spacewalk","suse","suse-manager","uyuni"],"created_at":"2024-10-10T19:49:24.714Z","updated_at":"2026-04-26T22:31:46.104Z","avatar_url":"https://github.com/meaksh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uyuni-logs-visualizer [![pre-commit](https://github.com/meaksh/uyuni-logs-visualizer/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/meaksh/uyuni-logs-visualizer/actions/workflows/pre-commit.yml)\nA tool to graphically visualize events from Uyuni logs and Salt events bus. The tool generates a HTML output where you can navigate the collected events using your web browser.\n\nWhen running this tool, you provide a path where the different logs files are stored, i.a. \"rhn_web_ui.log\", \"master\", \"salt-events.txt\", ..., or you can alternatively pass the path to a \"supportconfig\" tarball, then the tool will temporary unpack the supportconfig and collect the logs file from it.\n\nThe generated HTML is using:\n- https://github.com/visjs/vis-timeline\n\n### Runtime requirements:\n- Python3\n- Jinja2\n\n### How to setup:\n\n- Install `python3-jinja2` package or alternatively get `jinja2` python library using pip:\n\n```console\n# pip install -r requirements.txt\n```\n\n### How to run it:\n\n```console\n# python3 uyuni-logs-visualizer -h\nusage: uyuni-logs-visualizer [-h] [-o OUTPUT_FILE]\n                            [-f FROM_DATETIME] [-u UNTIL_DATETIME]\n                            [-p LOGS_PATH] [-s SUPPORTCONFIG_PATH]\n\nGenerate a HTML view of Uyuni logs.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -o OUTPUT_FILE, --output OUTPUT_FILE\n                        generated output HTML file (default: output.html)\n  -f FROM_DATETIME, --from FROM_DATETIME\n                        Only events after this datetime. (Example: 2021-11-11T16:23:28.804535)\n  -u UNTIL_DATETIME, --until UNTIL_DATETIME\n                        Only events before this datetime. (Example: 2021-11-11T16:23:28.804535)\n  -p LOGS_PATH, --logs-path LOGS_PATH\n                        Path to logs files\n  -s SUPPORTCONFIG_PATH, --supportconfig-path SUPPORTCONFIG_PATH\n                        Path to supportconfig tarball\n```\n\n### Example execution:\n\n```console\n# python3 uyuni-logs-visualizer -s /tmp/example_supportconfig.txz -f 2022-01-03T14:01:05.093000 -u 2022-01-04T10:01:05.093000\n\n   __  __                  _    __                        _    ___                  ___\n  / / / /_  ____  ______  (_)  / /   ____  ____ ______   | |  / (_)______  ______ _/ (_)___  ___  _____\n / / / / / / / / / / __ \\/ /  / /   / __ \\/ __ `/ ___/   | | / / / ___/ / / / __ `/ / /_  / / _ \\/ ___/\n/ /_/ / /_/ / /_/ / / / / /  / /___/ /_/ / /_/ (__  )    | |/ / (__  ) /_/ / /_/ / / / / /_/  __/ /\n\\____/\\__, /\\__,_/_/ /_/_/  /_____/\\____/\\__, /____/     |___/_/____/\\__,_/\\__,_/_/_/ /___/\\___/_/\n     /____/                             /____/\n\n\n  Options:\n    * From datetime: 2022-01-03T14:01:05.093000\n    * Until datetime: 2022-01-04T10:01:05.093000\n    * Path to supportconfig tarball: /tmp/scc_suma-42-srv_220104_1049.txz\n\n  Extracting supportconfig at: /tmp/tmpbf9ne78p\n\n  Collecting logs:\n    * WARN: Couldn't find any logs files for Salt Event Bus:\n      - salt-events.txt not found\n      - salt-event.log not found\n      - var/log/rhn/salt-event.log not found\n      - spacewalk-debug/salt-logs/salt/salt-event.log not found\n\n    * Found Salt Master logs file at: /tmp/tmpbf9ne78p/scc_suma-42-srv_220104_1049/spacewalk-debug/salt-logs/salt/master\n    * Found Salt API logs file at: /tmp/tmpbf9ne78p/scc_suma-42-srv_220104_1049/spacewalk-debug/salt-logs/salt/api\n    * Found Java Web UI logs file at: /tmp/tmpbf9ne78p/scc_suma-42-srv_220104_1049/spacewalk-debug/rhn-logs/rhn/rhn_web_ui.log\n\n  Cleanup:\n    * Temporary files removed: /tmp/tmpbf9ne78p\n\n  Summary:\n    * 1541 events were collected.\n    * First event at: 2022-01-03T14:01:59.479000\n    * Last event at: 2022-01-04T10:01:05.093000\n\n  Results:\n    * Results HTML file: output.html\n\n    ____                      __\n   / __ \\____  ____  ___     / /\n  / / / / __ \\/ __ \\/ _ \\   / /\n / /_/ / /_/ / / / /  __/  /_/\n/_____/\\____/_/ /_/\\___/  (_)\n\n```\n\nGenerated HTML:\n![image](https://user-images.githubusercontent.com/7229203/141479052-9fd712eb-45aa-4816-a0a1-7b599ec4a81f.png)\n\n### RPM packages:\nWe are building RPM packages for this project at Open Build Service: https://build.opensuse.org/package/show/home:PSuarezHernandez/uyuni-logs-visualizer\n\n### Authors:\n- Pablo Suárez Hernández - \u003cpsuarezhernandez@suse.de\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeaksh%2Fuyuni-logs-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeaksh%2Fuyuni-logs-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeaksh%2Fuyuni-logs-visualizer/lists"}