admin_hub

sysop@hub:~/tools/log-reader$

log-reader

A log file answers questions nobody has time to ask it. Drop one here and get the short version: who tried to get in and whether it worked, what the scanners found, when the errors started, and which message repeats ten thousand times. It reads web server access logs and syslog-style logs. The file is read by your browser and never uploaded.

which logs, and where they are

LogWhereNotes
nginx access log/var/log/nginx/access.logThe default "combined" format. Older days are in access.log.1 and compressed files: zcat access.log.*.gz.
Apache access log/var/log/apache2/access.log or /var/log/httpd/access_logCommon and combined format, with or without the virtual host in front.
Logins on Debian and Ubuntu/var/log/auth.logSSH, sudo, account changes.
Logins on RHEL, Rocky, Alma/var/log/secureThe same content under another name.
System log/var/log/syslog or /var/log/messagesKernel, services, cron.
Systems with only the journaljournalctl --since "2 days ago" -o short > journal.txtFor SSH only: journalctl -u ssh -o short.
A NAS, a firewall, a routerExport from its web interfaceWorks if the lines look like syslog: date, host, program, message.

what it looks for

InFindingSeverity
LoginsAn address that failed several times and then got in with a password.critical
Loginsroot logging in by password. sudo refused for an account.high
LoginsAccounts created or passwords changed. Password guessing, by address and by name tried.medium, info
WebRequests for files like .env or .git that were answered with 200.high
WebAttack patterns in the address: SQL injection, path traversal, script injection, Log4Shell, command injection.high or medium
WebTwenty or more login POSTs from one address to one form.high
WebServer errors: more than 5% overall, or a burst in a short window.high or medium
WebOne address with a third of the traffic. Scanners. Share of automated clients.medium, info
SystemOut-of-memory kills, disk I/O errors, file system errors, disk full.high
SystemCrashing programs, hanging tasks, network link down, overheating, failed services.medium
SystemThe same error message repeating, grouped with numbers and addresses removed.info

The page matches known patterns. It does not know your application, cannot tell an admin's typo from an attack, and sees only what this one file contains: an attacker who got in may have deleted the lines. Times are shown in UTC. Syslog lines without a year are assumed to be from the last twelve months. Addresses in logs are personal data in many jurisdictions: the analysis stays in your browser, but think before you paste results into a ticket. Related: nginx and Apache cheat sheet, systemd and journalctl, the Linux server is slow, incident runbook, log file locations.