/var/log/beacon-agent/runtime.jsonl, and needs no Beacon account and no Fleet API access on the Mac.
Beacon with Fleet and S3
Start here. A step-by-step rollout from a pilot Mac to every Mac, including forwarding to your own S3 bucket.
Requirements
- Fleet Premium and a specific team. Custom packages can’t be added to “All teams”. Fleet 4.82 and later call teams fleets.
- Apple Silicon Macs. The signed package,
BeaconEndpointAgent-<version>-arm64.pkg, is Apple Silicon only. Set the package’s Pre-install query toSELECT 1 FROM system_info WHERE cpu_type LIKE 'arm64%';so Fleet skips Intel Macs. - Scripts enabled in
fleetd. This is the default with Fleet MDM. Otherwise deployfleetdwith--enable-scripts. - A custom uninstall script. Fleet’s default
.pkguninstall only removes.appbundles. Use the one in the guide, which runs Beacon’s full cleanup. - Nothing in the post-install script. If a Fleet post-install script fails,
fleetduninstalls the package. Run S3 setup and self-update setup as separate scripts after the install. - Leave the package’s Deploy switch off. Fleet 4.83 and later call automatic install Deploy. For a
.pkg, the policy it creates checks for an app bundle to decide whether the package is installed, and Beacon has none, so that policy never passes. Use the Beacon: installed policy with an Install software automation instead.
What the package installs
The package postinstall runs a system-mode install and configures Claude Code and Codex for the user logged in at the Mac.Policies and reports
The package ships two kinds of osquery files. Policies (/opt/beacon/fleet/policies) return a row only when that part of Beacon is healthy, so a failing policy points at a problem. They all pass on Intel Macs, where the package doesn’t apply.
Reports (
/opt/beacon/fleet/queries) return one row per host with a status value, for dashboards and exports: install state and version, collector health, S3 and Falcon forwarder health, S3 configuration, inventory heartbeat age, last event age, config presence, runtime log presence, and Splunk HEC configuration.
The admin helper creates the five policies and the main reports for you.
Fleet scripts
These are in/opt/beacon/fleet/scripts on each Mac:
Fleet runs scripts without arguments, so pass settings as environment variables in a short wrapper script. For example, to add Gemini CLI:
GitHub Copilot CLI isn’t in the agent list. Deploy
COPILOT_OTEL_ENABLED=true and OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4318 in Copilot’s launch environment instead.
Self-updates
Self-updates are off by default. Turn them on with a Fleet script after the package is installed:auto mode installs newer signed packages after verifying them, and rolls back if the new version fails its health check. check-only only records that an update is available, in /var/log/beacon-agent/system.jsonl. Macs need to reach GitHub Releases. To use a release manifest you host, write {"manifest_url": "https://..."} to /Library/Application Support/Beacon/Endpoint/managed.json.
Troubleshooting
Beacon: installed fails
Beacon: installed fails
Check that the package is scoped to the host and that the install finished in the host’s Activity tab. On the Mac:
Beacon: collector running fails
Beacon: collector running fails
doctor prints the command that fixes anything it finds. /opt/beacon/fleet/scripts/repair.sh also repairs the collector without touching logs or forwarding.No agent activity from a Mac
No agent activity from a Mac
The package only configures the user logged in when it installed. After that user logs in, run:Agent sessions that were already open keep their old settings, so start a new one.
S3 forwarding
S3 forwarding
Splunk HEC isn't configured
Splunk HEC isn't configured
Check that the install or repair wrapper sets
BEACON_SPLUNK_HEC_ENDPOINT and BEACON_SPLUNK_HEC_TOKEN. On the Mac, sudo /opt/beacon/bin/beacon endpoint status --system --json shows the configured destination without the token.Self-updates aren't running
Self-updates aren't running
Update mode: off means the enable script hasn’t run on this Mac. To check for an update right away:Related
Beacon with Fleet and S3
The step-by-step rollout, including S3 forwarding.
MDM deployment
The macOS package and how it behaves under any MDM.
Log forwarding
Other destinations: Splunk HEC, Falcon LogScale, Elastic, Sentinel, and more.