Overview
Beacon writes endpoint telemetry to a local runtime JSONL log. Local log checks help confirm that commands, the dashboard, and any downstream forwarding are reading the same file. This guide shows how to find the active log, keep user-mode and system-mode checks separate, test a custom log path, and understand local rotation behavior.Setup
Write a validation event first so the runtime log has a known record:Write a validation event
1. Find The Active Runtime Log
Use status to print the configured runtime log path and last observed event:Print runtime log path
Sample output
Sample output
Sample output
Print status as JSON
2. Compare User And System Paths
Default local evaluation uses per-user endpoint paths:Check user-mode paths
/var/log/beacon-agent/runtime.jsonl:
Check system-mode paths
3. Understand Log Rotation
Beacon keeps the activeruntime.jsonl path stable and rotates it when the next write would exceed 10 MiB. By default, it keeps five numbered local archives next to the active file:
runtime.jsonl path and use their normal file-rotation handling to checkpoint offsets. The local dashboard can inspect the active log and numbered archives when you need to review recent rotated events.
4. Test A Custom Log Path
Use--log-path when testing a temporary runtime log or a support reproduction:
Use a custom runtime log
/tmp/beacon/runtime.jsonl rotates to /tmp/beacon/runtime.jsonl.1.
Verify Results
| Area | Expected result |
|---|---|
| Runtime path | Status shows the log path you intend to test |
| Writability | beacon endpoint test-event can append a validation event |
| Freshness | Status reports a recent last Beacon event |
| Rotation | The active log remains at runtime.jsonl and older local data moves to numbered archives |
| Dashboard source | Dashboard --log-path matches the tested runtime log |
| Deployment mode | User or system mode matches the installation you are validating |
Troubleshooting
- If status points at a different log than the dashboard, pass the same
--log-pathto both commands. - If the system collector is running but the user log is empty, validate with
--system. - If a shipper misses records after rotation, confirm it tails the active
runtime.jsonlpath and handles numbered archives normally. - If
test-eventcannot write, check parent directory permissions and run doctor checks.
Related
Run Endpoint Health Checks
Confirm endpoint configuration, collector health, and local diagnostics.
Write Validation Events
Append a known-good event to the runtime JSONL log.
Test the Local Dashboard
Confirm the dashboard is reading and summarizing the expected log.
Endpoint event schema
Review the normalized JSONL contract used for endpoint events.

