Appearance
Event Log
One log of what happened: operator actions, alarms and logins, switched by chips.
In Studio
In Studio, double-click Event Log in the Components category of the Components panel. It is added to the open view, where you can drag it into place.
When to use
Use Event Log for an audit view on an admin or shift-handover screen. The operator picks the source and a time range, and the table shows time, user and text.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
| Variant | hairline, striped, cards | hairline | How it looks: hairline (default, thin row dividers), striped or cards. |
| Density | comfortable, compact | comfortable | comfortable (default) or compact row spacing. |
| Sources (comma-sep) | String | audit,alarms,logins | Which log chips to offer, comma-separated from audit (operator actions), alarms (the alarm journal) and logins. Default is all three. |
| Default Source | audit, alarms, logins | audit | The chip selected first: audit (default), alarms or logins. |
| Ranges (comma-sep) | String | 1 h,8 h,24 h,7 d | The time spans to offer, comma-separated, such as 1 h,8 h,24 h,7 d (the default). All keeps everything the gateway returns. |
| Default Range | String | 8 h | The span selected first. Default 8 h. |
| Max Rows | Number | 200 | The most rows shown. Default 200. |
| Refresh (s) | Number | 30 | How often, in seconds, the log is read again. Values below 5 fall back to 30, and values above 3600 are capped at 3600. Default 30. |
| Sortable | true, false | true | Lets the operator sort by clicking a column heading. |
| Filter Box | false, true | false | Shows a filter box above the log. |
| Resize Columns | true, false | true | Lets the operator drag column edges to resize them. |
| Hide Columns | false, true | false | Adds a Columns menu so the operator can hide columns. |
| CSV Export | false, true | false | Adds a CSV button that exports the log. |
| Empty Text | String | No events | Shown when the log is read successfully and has no rows. |
Binding
This component has no single value binding.
No value binding. The log reads the gateway's audit log and alarm journal itself. A failed read says why, for example "Sign in to view this log" or "Gateway unreachable", rather than showing the empty text, because an unreadable log is not an empty one.