Logs, SIEM & alerts
OkYouIn records every access decision and every administrative change, keeps them in the console for as long as you choose, and can stream them to your syslog collector or SIEM. Alerts tell you when something needs attention — a certificate about to expire, a background job failing, a cluster node down.
The Access log
Section titled “The Access log”Logging ▸ Access log is the one place to answer who got in where, and why not: the access decisions of RADIUS, Windows sign-in and single sign-on (OIDC, SAML and the Verify API) in one feed, newest first.
Each row shows the time, the type (RADIUS, Windows, SSO), the application, the user, the client address, the country (from GeoIP), the result (Allowed, Denied, MFA) and the reason. Open a row for the full decision, with links to the detailed journal entry and the application. When the user approved a push or an e-mail link, the entry also shows the approval device: its IP address, country and the checks it passed or failed.
Filter by user, client address, time range and country, among others; filters you use often can be saved as presets.
Journals and the audit log
Section titled “Journals and the audit log”| Log | Menu | What it records |
|---|---|---|
| RADIUS log | Logging ▸ Application log ▸ RADIUS log | every Access-Request answered or dropped, with the decision and its trace |
| RADIUS sessions | Logging ▸ Application log ▸ RADIUS sessions | sessions from RADIUS accounting |
| Windows sign-in log | Logging ▸ Application log ▸ Windows sign-in log | every Windows logon agent decision |
| SSO sign-in log | Logging ▸ Application log ▸ SSO sign-in log | every OIDC, SAML and Verify API sign-in, MFA step and sign-out |
| SSO sessions | Logging ▸ Application log ▸ SSO sessions | open single sign-on sessions, which you can revoke |
| Audit log | Logging ▸ Audit log | who changed what in the console, the API or on the server’s command line |
| Blocked IPs | Logging ▸ Blocked IPs | addresses blocked automatically or by hand |
How long each log is kept is set on Settings ▸ System ▸ Log rotation (0 keeps for ever).
The containers’ own logs, for troubleshooting, are read on the server:
./okyouin logs -f api # follow one service./okyouin logs --tail 100 radius # the last 100 lines./okyouin logs --since 1h webServices: api, web, radius, winbind, stun, postgres. Container logs
are capped at 10 files of 100 MB per service.
Forwarding to syslog / SIEM
Section titled “Forwarding to syslog / SIEM”OkYouIn forwards to any number of syslog destinations, each with its own transport, format and selection of events.
| Options | |
|---|---|
| Protocol | UDP, TCP, or TLS |
| Framing (TCP, TLS) | Octet counting (RFC 6587, the default) or Newline |
| Format | RFC 5424 (modern IETF syslog with RFC 3339 time stamps and structured data), RFC 3164 (classic BSD syslog, understood by every collector), CEF (Common Event Format, for SIEMs that parse CEF fields, such as ArcSight or Microsoft Sentinel) |
| TLS | verify the server certificate against your CA (or the system trust store); optional client certificate and key for mutual TLS |
| Ident, facility, severity | the program name to filter on, the facility, and the severity — per event by default, or forced to one value |
What can be forwarded
Section titled “What can be forwarded”| Event type | Contents |
|---|---|
| Audit | every audit event |
| Authentication | console sign-in and sign-out, lockouts, login protection, MFA enrolment and verification, push answers |
| Configuration changes | changes to settings, roles, groups, e-mail templates, syslog destinations, LDAP configurations and domain membership |
| RADIUS authentication | the RADIUS journal: every answered or dropped Access-Request |
| RADIUS accounting | every Accounting-Request (start, interim, stop) |
| SSO sign-ins | every OIDC / SAML sign-in decision, MFA step and sign-out, and every Verify API sign-in |
| Windows logon agent | every Windows agent sign-in decision |
Add a destination
Section titled “Add a destination”-
Open Settings ▸ Integrations ▸ Syslog and click Add destination.
-
General — a name (for example Corporate SIEM) and the event types to forward.
-
Transport — host, port, protocol; for TLS, the CA certificate and, for mutual TLS, the client certificate and its key.
-
Message format — the format, ident, facility and severity.
-
Create destination, then Send test and check that the message arrives.
Each destination shows its health: messages sent, errors, the last success and the last error, and for journals when they were last delivered and how many records were lost.
Allow the outbound port to your collector (typically 514) on your firewall.
Alerts
Section titled “Alerts”Alerts open when something needs attention and resolve by themselves when the condition clears. They are listed on Logging ▸ Alerts, where you can acknowledge them, and appear on the dashboard. Examples:
- resource thresholds — disk, CPU, memory, swap;
- a background job failing several runs in a row, or outgoing e-mail failing;
- a certificate in use (console HTTPS, SAML signing) close to expiry;
- the trial or license ending, or the active-user limit reached (Licensing & trial);
- cluster events, on a high-availability cluster.
Notifications
Section titled “Notifications”Configure them on Settings ▸ System ▸ Alerts:
| Setting | What it does |
|---|---|
| Alert engine enabled | the master switch for checks and notifications |
| Resource thresholds | warning and critical levels for disk, CPU, memory and swap (0 disables a level) |
| Email notifications and Recipients | e-mail when an alert opens, escalates, repeats or resolves; one address per line |
| Minimum severity | only alerts at or above it are notified |
| Repeat — critical / error / warning | re-notify unacknowledged alerts at this interval (0 = off) |
| Notify on resolve | also notify when an alert resolves |
| Certificate expiry warning | days before a certificate expires that a warning opens; it becomes an error at 30 days and critical at 7 |
E-mail needs SMTP on Settings ▸ Integrations ▸ Email.