Skip to main content

Overview

Use a validation event to prove Beacon can write a known-good endpoint event to the local runtime JSONL log before you rely on real agent activity. This guide covers the default validation event, JSON output for automation, custom log paths, and system-mode validation.

Setup

Confirm endpoint telemetry is configured:
Check endpoint status

1. Write A Test Event

Run beacon endpoint test-event with the default per-user endpoint paths:
Write a validation event
Sample output
The command checks that the configured runtime log is writable, appends a synthetic Beacon endpoint event, and reports validation stages. beacon endpoint validate-pipeline is an alias for the same local validation path.
Alias for the same validation path

2. Print Validation Stages As JSON

Use JSON output when capturing evidence for support, scripts, or rollout checks:
Print validation event result as JSON
Sample JSON output

3. Validate A Specific Log Path

If you are testing a non-default runtime log, pass the path explicitly:
Write to a custom runtime log
For a system-mode deployment, use the system endpoint paths:
Write a system-mode validation event

4. Test GitHub Copilot CLI Telemetry

After beacon endpoint install has started the local collector, run a real Copilot CLI prompt with OTLP export enabled:
Generate Copilot CLI telemetry
Use OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true only when prompt content capture is intended for the test. Confirm the Copilot event with status or the local dashboard:
Confirm telemetry

Verify Results

After writing the event, confirm it with status or the local dashboard:
Verify validation event
The status output should include a recent last Beacon event when the runtime log has been written successfully. The dashboard should show the validation event in Log Search.

Troubleshooting

  • If the write fails, check runtime log path and permissions.
  • If JSON output shows the log is not writable, run beacon endpoint doctor --fix when safe.
  • If system-mode writes work but user-mode checks look empty, confirm the dashboard is pointed at the system log.
  • If Copilot telemetry is missing, confirm the OTLP endpoint and environment variables are set for the Copilot process.

beacon endpoint test-event

Review all flags and examples for synthetic validation events.

Test the Local Dashboard

Confirm validation events through the local read-only dashboard.

Inspect Runtime Logs

Inspect runtime JSONL paths and last-event freshness.

Log forwarding

Move from local validation to destination-specific forwarding checks.