View the security event log and archive
The security event log records user sign-ins, changes to roles and settings, actions on virtual machines (VMs) and cluster system events. Open it when you need to investigate an incident or collect data for an audit.
Before you begin
- You need the Cluster master or Security Admin role. Only a Cluster master can change the archiving settings.
1. Find an event
- In the left menu, select Security Event Log. The Current events tab opens: new events are at the top.
- Click Filters above the table. The filter panel opens under the button.
- In the Parameter field, select Category, Severity, Result, Event type or User, and in the Value field select the values you need. To add another condition, click "+" to the right of the last one. Conditions are combined with "and". The table shows the matching events.
- To limit the period, click the Select date field above the table and select the first and the last day.
- Click an event row. The Additional Information window opens: the event object, the remote IP, the event and request UUIDs and the record hash.
Narrow the filter so that the events you need fit on the first page, and select 50 rows in Per page.
For the Result, Event type and User parameters, the filter uses one value: if you select several, only the first one applies. Clear all in the filter panel removes all conditions, and the cross in the date field removes the period.
2. Download an archive
- Open the Archived events tab. Each row is an archive of events for one calendar month: Period, Records, Size, Checksum, Created.
- Click the download icon next to the size in the Size column of the row you need. The browser downloads a
.csv.gzfile with the events of that month.
You cannot open an archive in the web interface: unpack the file and open the CSV in any spreadsheet editor.
Check the result
The event you found opens in the Additional Information window. The downloaded archive unpacks into a CSV with the same number of rows as in the Records column.
If the Current events table is empty, clear the conditions with Clear all in the filter panel and clear the date field.
More
- CSV and JSON above the table — export of the events in the current filter, up to 100 000 records.
- Verify integrity — a check that the log records have not been changed. The result is the Last verify integrity line next to the button; a red cross with an ID marks the first record where the chain is broken.
- Mark all as read — removes the red highlight from unread events with the Emergency, Alert and Critical severity.
- Autoarchiving — a switch on the Current events tab. Once an hour, Center moves the oldest month to the archive while the log is larger than the limit. Without autoarchiving, the log grows without limit.
- Actions → Archive settings to the right of the heading — the Archive settings window with the Max log size (MB), Disk space alert threshold (MB) and Archive path fields. The log size ranges from 10 MB to 16 GB, the threshold is at least 100 MB, and both are 1024 MB by default.
Center does not delete archives, and you cannot delete them from the web interface. If you change the Archive path, the old archives are no longer shown on the Archived events tab.
Which events are recorded
The list of event types is in the Event type parameter of the filter panel. In 3.3, node events were added and fixed:
- SSH logins to a node — Successful SSH login to node and Failed SSH login to node — are now also recorded from the node authorization log;
- privilege escalation on a node with
suandsudo— «Повышение привилегий на узле (su/sudo)» and «Отказ в повышении привилегий на узле (su/sudo)» in the Russian interface: who, as whom, from which terminal and which command; - «Обход контроля целостности по привилегии на узле» in the Russian interface — the node allowed an action that the integrity control would otherwise have blocked;
- Node started, Node shut down normally, Node shut down abnormally and Node kernel panic again show the reason and the node boot time; a panic shows the reason and the kernel version.
The web interface takes the names of the new event types from the server; the English interface shows the event code instead, for example os.privilege_escalation_success.
Next
- Receive log events by email
- View tasks and terminate a stuck one
- Set the security policy: passwords and sessions
API methods: security-event-list, security-event-get, security-event-export, security-event-archive-list, security-event-archive-export, security-event-archive-settings-set — in the API reference.