Activity log monitoring is available on Business plan workspaces.
Enable logging
Enable activity log on a device from BRICKS Controller:- Open the device detail page
- Go to Settings > Activity Log
- Toggle Enabled on
Event ID filter
Use the Event ID Filter field to set a regex pattern that controls which events are logged. Only events with IDs matching the pattern are captured. Leave empty to log all events.What is logged
Each log entry contains:| Field | Description |
|---|---|
| Event ID | Unique identifier for the event type |
| Timestamp | When the event occurred |
| Event data | Custom event-specific content |
| Device metadata | Sender, subspace ID, and property details |
| Range | Category |
|---|---|
| 0–999 | System events (BRICKS Foundation) |
| 1000–1999 | Brick events (UI interactions) |
| 2000–3999 | Generator events (I/O and data) |
How it works
Events are captured on the device, cached locally, and uploaded in batches to the activity log server at regular intervals (default: every 2 minutes). You can also trigger an immediate upload from the device control panel in BRICKS Controller.Device control actions
From the device detail page in BRICKS Controller:- Temporary enable Fast Mode (10min) — Switches to high-frequency logging for short-term debugging
- Upload logs now — Triggers an immediate upload of cached events
Query logs
Activity logs are stored in a Prometheus-compatible database and queried via the Prometheus API.Create a query token
In BRICKS Controller, go to Workspace Settings and create a workspace token with the
query_activity_log permission type.Get the query endpoint
Open the Query Activity Log guide in workspace settings to view your query endpoint URL and workspace ID.
Use cases
- User behavior analysis — Track how users interact with bricks and navigate canvases
- Troubleshooting — Investigate what happened before an error or unexpected behavior
- Fleet monitoring — Monitor event patterns across multiple deployed devices
- Performance tracking — Analyze generator response times and event frequency
Next steps
Debug panel
Inspect runtime state in real time on the device.
Automations
Run end-to-end automation tests on devices.