{"id":31581146,"url":"https://github.com/ntpriest/syslog-summary","last_synced_at":"2026-05-14T12:34:21.278Z","repository":{"id":315914653,"uuid":"1061217877","full_name":"NTPriest/syslog-summary","owner":"NTPriest","description":"A minimal Bash tool that displays the latest syslog entries in real time, highlights severity levels with colors, and shows message counts.","archived":false,"fork":false,"pushed_at":"2025-09-21T14:46:00.000Z","size":2179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-21T16:27:53.496Z","etag":null,"topics":["bash","bash-script","cli","console-application","dashboard","logging","monitoring-tool","network","network-analysis","network-security-monitoring","summary-statistics","syslog"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/NTPriest.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":"2025-09-21T13:37:03.000Z","updated_at":"2025-09-21T15:42:51.000Z","dependencies_parsed_at":"2025-09-21T16:27:54.866Z","dependency_job_id":"3be34500-8845-4344-98a4-acabc7abb5a1","html_url":"https://github.com/NTPriest/syslog-summary","commit_stats":null,"previous_names":["ntpriest/syslog-summary"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/NTPriest/syslog-summary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTPriest%2Fsyslog-summary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTPriest%2Fsyslog-summary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTPriest%2Fsyslog-summary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTPriest%2Fsyslog-summary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NTPriest","download_url":"https://codeload.github.com/NTPriest/syslog-summary/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTPriest%2Fsyslog-summary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278526242,"owners_count":26001325,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":["bash","bash-script","cli","console-application","dashboard","logging","monitoring-tool","network","network-analysis","network-security-monitoring","summary-statistics","syslog"],"created_at":"2025-10-05T21:53:58.225Z","updated_at":"2025-10-05T21:53:59.190Z","avatar_url":"https://github.com/NTPriest.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Syslog-summary\n\n## Overview:\nA minimal Bash tool that displays the latest syslog entries in real time, highlights severity levels with colors, and shows message counts.\n\n![alt SyslogPic](screenshotB.png)\n\n## Features\n- Tails a log file (e.g. /var/log/syslog or device-specific logs).\n- Highlights severity levels (EMERG … DEBUG) using ANSI colors.\n- Counts how many messages of each severity appeared in the last N lines [].\n- Auto-refreshing terminal view (like a mini dashboard).\n\n## Usage:\n**First of all, you have two options for where your logs should come from:**\n\n**1. Standard system log (/var/log/syslog)**\nBy default, traffic from your network appliances (routers, switches, PCs, etc.) is written into the system’s main syslog file.\nProblem: these messages get mixed with all other system logs, which can be messy.\n\n**2. Dedicated log file (recommended)**\nYou can configure rsyslog to send messages from a specific device (by IP or hostname) into a separate file.\nThis keeps your appliance logs organized and easier to monitor/read.\n\nExample: create ```/etc/rsyslog.d/switch1.conf```:\n\n```\nMatch logs from switch at 192.168.1.10\nif ($fromhost-ip == '192.168.1.10') then /var/log/cisco-switch1.log\n\u0026 stop\n```\nThen restart rsyslog:\n```sudo systemctl restart rsyslog```\n\nNow all logs from 192.168.1.10 will go into:\n ```/var/log/cisco-switch1.log```.\n\n## Run the script\n\nClone repo and make it executable using chmod:\n``` \ngit clone https://github.com/NTPriest/sysdash.git\ncd sysdash\nchmod +x sysdash.sh\n```\n\nRun it (default log file is ```/var/log/cisco-switch1.log```, but you can change name log file tho):\n\n```./sysdash.sh```\n\n## Configuration\n``` \nLOG=\"/path/to/logfile\"   # default: /var/log/cisco-switch1.log\nLINES=20                 # how many recent log lines to display\nSLEEP=5                  # refresh interval in seconds\n```\n\n## Tips\n- If your terminal gets cluttered, press `Ctrl + L` to clear the screen.  \n- Then execute the script again:  \n  ```bash\n  ./sysdash.sh\n\n## Requirements\n- Bash\n- Standard tools: awk, tail, tput, sleep\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntpriest%2Fsyslog-summary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntpriest%2Fsyslog-summary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntpriest%2Fsyslog-summary/lists"}