Forwarding Command
Beacon writes Wazuh-compatible JSONL endpoint events to the local runtime log. Thebeacon endpoint wazuh commands help security and IT teams connect that log to Wazuh localfile ingestion, install Beacon-specific Wazuh rules, and write validation events.
Beacon does not require Wazuh credentials and does not call the Wazuh API during normal endpoint operation. Wazuh tails the runtime log from disk and stores decoded Beacon fields under data.* in Wazuh alerts.
Command syntax
Commands
beacon endpoint wazuh print-config
Print a Wazuh localfile snippet for the configured runtime log.
beacon endpoint wazuh install-pack
Write Wazuh rules and config snippets to a directory.
beacon endpoint wazuh validate
Write and describe a Beacon validation event.
Runtime log paths
| Mode | Path |
|---|---|
| User mode | ~/.beacon/endpoint/logs/runtime.jsonl |
| System mode | /var/log/beacon-agent/runtime.jsonl |
beacon endpoint wazuh print-config
beacon endpoint wazuh print-config prints a Wazuh localfile snippet for the configured Beacon runtime JSONL log.
Print the configuration
<location> must be the container-side path, not the macOS host path.
Examples
Print config for the default per-user Beacon install:Print config for the default per-user Beacon install
Print config for a custom runtime log
Flags
| Flag | Description |
|---|---|
--user | Use per-user endpoint paths. Enabled by default |
--system | Use system endpoint paths and launch daemon |
--log-path <path> | Runtime JSONL log path |
beacon endpoint wazuh install-pack
beacon endpoint wazuh install-pack writes Beacon Wazuh rules and configuration snippets to an output directory.
Generate the integration pack
| File | Purpose |
|---|---|
ossec-localfile.xml | Wazuh localfile snippet for the configured Beacon runtime log |
beacon-rules.xml | Wazuh rules for Beacon endpoint runtime events |
sample-event.jsonl | Sample Beacon endpoint event content |
apply-dashboard-default-columns.sh | Optional helper that sets Wazuh Dashboard event columns for Beacon fields |
README.md | Pack install notes |
Examples
Generate a content pack for the default per-user install:Generate a content pack for the default per-user install
Generate a content pack for a custom runtime log
Generate the pack for Docker validation
Flags
| Flag | Description |
|---|---|
--output <dir> | Output directory for the Wazuh content pack. Required |
--user | Use per-user endpoint paths. Enabled by default |
--system | Use system endpoint paths and launch daemon |
--log-path <path> | Runtime JSONL log path |
beacon endpoint wazuh validate
beacon endpoint wazuh validate writes a Beacon validation event to the runtime JSONL log and describes it, so you can verify localfile ingestion in Wazuh.
Run the validation check
Examples
Write a validation event for the default per-user install:Write a validation event for the default per-user install
Write a validation event to a custom runtime log
--log-path used in print-config or install-pack should usually be the path Wazuh sees inside the container, such as /var/log/beacon-agent/runtime.jsonl. The validate command should write to the host Beacon log path, such as ~/.beacon/endpoint/logs/runtime.jsonl, when that directory is bind-mounted into the Wazuh manager container.
The validation event should produce Wazuh rule 100500 with:
Flags
| Flag | Description |
|---|---|
--user | Use per-user endpoint paths. Enabled by default |
--system | Use system endpoint paths and launch daemon |
--log-path <path> | Runtime JSONL log path |
Wazuh Dashboard fields
In Wazuh Dashboard, Beacon event details appear underdata.* fields. Useful columns include:
apply-dashboard-default-columns.sh helper can set the recommended OpenSearch Dashboards columns for local Wazuh validation. See Wazuh forwarding for the full Docker setup.
Related
Endpoint agent
Install and inspect the local endpoint agent.
Dashboard
Inspect Beacon events locally before forwarding.

