{"id":44741617,"url":"https://github.com/phil-bot/rsyslox","last_synced_at":"2026-06-05T22:01:03.641Z","repository":{"id":337860464,"uuid":"1154555661","full_name":"phil-bot/rsyslox","owner":"phil-bot","description":"High-performance REST API \u0026 WebUI for rsyslog/MySQL","archived":false,"fork":false,"pushed_at":"2026-04-02T12:35:49.000Z","size":1066,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T08:33:25.833Z","etag":null,"topics":["golang","logging","mariadb","mysql","rest-api","rsyslog","syslog"],"latest_commit_sha":null,"homepage":"http://rsyslox.grothu.net/","language":"Vue","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/phil-bot.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-10T14:20:39.000Z","updated_at":"2026-04-02T12:35:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/phil-bot/rsyslox","commit_stats":null,"previous_names":["phil-bot/rsyslog-rest-api","phil-bot/rsyslox"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/phil-bot/rsyslox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-bot%2Frsyslox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-bot%2Frsyslox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-bot%2Frsyslox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-bot%2Frsyslox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phil-bot","download_url":"https://codeload.github.com/phil-bot/rsyslox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-bot%2Frsyslox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33961252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"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":["golang","logging","mariadb","mysql","rest-api","rsyslog","syslog"],"created_at":"2026-02-15T21:06:23.090Z","updated_at":"2026-06-05T22:01:03.636Z","avatar_url":"https://github.com/phil-bot.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://rsyslox.grothu.net/rsyslox_light.svg\" alt=\"rsyslox\"/\u003e\n\u003c/div\u003e\n\n# rsyslox\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Go Version](https://img.shields.io/badge/go-1.21+-00ADD8.svg)](https://go.dev/)\n[![Release](https://img.shields.io/github/v/release/phil-bot/rsyslox)](https://github.com/phil-bot/rsyslox/releases)\n\nA self-hosted syslog viewer for MySQL/MariaDB syslog databases.\nSingle binary, no external dependencies, embedded web UI.\n\n## Features\n\n- Real-time log viewer with filtering by time, severity, facility, host, tag, and message\n- Paginated table with dynamic row count that fills the viewport exactly\n- Auto-refresh with configurable interval\n- Multi-row selection, CSV / JSON export\n- Detail panel with full field view and raw JSON\n- Dark / light theme, i18n (English / Deutsch), adjustable font size, 12h / 24h clock\n- Read-only API key management\n- Log cleanup based on disk usage threshold\n- Embedded API documentation (Redoc)\n- All settings configurable via Admin panel — no manual config file editing required\n\n## Requirements\n\n- Linux (amd64 or arm64)\n- MySQL / MariaDB syslog database (populated by rsyslog or compatible)\n- systemd (for the installer)\n\n## Screenshots\n\n| ![UI Screenshot](docs/rsyslox-logs.png) | ![UI Screenshot dark](docs/rsyslox-logs-dark.png) |\n|-|-|\n\n\n## Installation\n\n```bash\nsudo ./install.sh\n```\n\nThe installer creates a dedicated system user (`rsyslox`), places the binary at `/opt/rsyslox/rsyslox`, registers a hardened systemd service, and starts it.\n\nOn first start, a setup wizard is served on `http://localhost:8000`. Complete it in your browser — no config file editing required.\n\nTo remove rsyslox:\n\n```bash\nsudo ./install.sh --uninstall\n```\n\nConfiguration at `/etc/rsyslox/config.toml` is intentionally preserved on uninstall.\n\n## First Run\n\n1. Navigate to `http://\u003chost\u003e:8000`\n2. You are redirected to the setup wizard automatically\n3. Enter database credentials, admin password, and optional server settings\n4. rsyslox writes its configuration and restarts into normal mode\n\nAfter setup, all server-side settings (CORS, SSL, log cleanup) are editable via the **Admin panel** at `/admin`.\n\n## Configuration\n\nConfiguration is stored at `/etc/rsyslox/config.toml` and is managed entirely through the Admin panel. Direct editing is not required or recommended.\n\nThe database password is stored AES-GCM encrypted. The admin password is stored as a bcrypt hash (cost 12). Read-only API keys are stored as SHA-256 hashes — plaintext is shown once at creation time.\n\nThe `RSYSLOX_CONFIG` environment variable overrides the config file path (useful for development).\n\n## User Preferences\n\nPer-user settings are stored in the browser (`localStorage`) and require no server restart:\n\n| Setting | Options | Default |\n|---|---|---|\n| Language | English, Deutsch | English |\n| Time format | 24-hour, 12-hour | 24-hour |\n| Font size | Small, Medium, Large | Medium |\n| Auto-refresh interval | 5–300 s | 30 s |\n\nAccess via **Admin → Preferences**.\n\n## API\n\nThe REST API is documented interactively at `/docs` (served from the binary).\n\nAuthentication options:\n\n| Method | Header | Access |\n|---|---|---|\n| Admin session | `X-Session-Token: \u003ctoken\u003e` | Full |\n| Read-only API key | `X-API-Key: \u003ckey\u003e` | `/api/logs`, `/api/meta` |\n\nObtain an admin session token via `POST /api/admin/login`.\n\n## Development\n\n```bash\n# Run backend (requires a config file or RSYSLOX_CONFIG)\ngo run .\n\n# Run frontend dev server\ncd frontend \u0026\u0026 npm install \u0026\u0026 npm run dev\n\n# Build frontend into binary\ncd frontend \u0026\u0026 npm run build\ngo build -ldflags \"-X main.Version=dev\" -o rsyslox .\n```\n\nThe binary embeds `frontend/dist/` and `docs/api-ui/` at build time via `go:embed`.\n\n## Changelog\n\nSee [docs/development/changelog.md](docs/development/changelog.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphil-bot%2Frsyslox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphil-bot%2Frsyslox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphil-bot%2Frsyslox/lists"}