Skip to main content

Field Reference

Beacon models each endpoint event as an action plus a set of typed entities. The event object and surrounding entities describe what happened and who or what participated in that action.

Entity model

EntityPurposeCommon fields
endpointDevice and agent context for the machine where telemetry was collectedhostname, os, agent_version
userLocal operating system user contextname, uid
harnessAgent harness that produced the signalname, version, executable_path, config_path
originEvent origin for local endpoint, cloud, or CI telemetrylocal, cloud, ci
runCI or ephemeral run contextprovider, run_id, run_attempt, workflow, job, event_name, commit, repository, branch, pr, pr_number, actor, ephemeral
sessionConversation or runtime session contextid, working_directory
toolTool invocation context, including shell-like toolsname, command, path
fileFile activity contextpath, operation, language, diff_hash, diff_bytes
commandShell or process execution contextcommand, exit_code, duration_ms
mcpMCP-like server and tool contextserver, tool
approvalApproval or policy decision contextrequired, decision, reason
policyPolicy metadata when available from a runtime or integrationid, name, decision, enforcement, reason
promptPrompt text when the source emits it and content handling allows ittext
contentContent handling state for the eventretention, included, redacted, truncated
gen_aiOpenTelemetry GenAI semantic convention contextagent, conversation, input, output, provider, request, response, retrieval, system_instructions, tool, usage, workflow
destinationOutput or validation destination statetype, mode, status
healthEndpoint or component health statecomponent, status, reason
Top-level model, repository, branch, message, raw, and field_truncated fields add shared context that can apply across multiple entities. For example, a command event can include both tool and command; a file edit can include file, session, repository, and branch; a CI event can include origin and run; and a GenAI tool call can include both tool and nested gen_ai.tool metadata.

GenAI context

When a runtime emits OpenTelemetry GenAI semantic convention attributes, Beacon preserves them under gen_ai while also projecting commonly queried values into top-level fields such as model, tool.name, or prompt.text.
FieldDetail
gen_ai.requestRequest settings such as model, max_tokens, temperature, top_p, top_k, seed, stream, choice_count, encoding_formats, and stop_sequences
gen_ai.responseResponse metadata such as id, model, finish_reasons, and time_to_first_chunk
gen_ai.usageToken counters such as input_tokens, output_tokens, cache_creation.input_tokens, cache_read.input_tokens, and reasoning.output_tokens
gen_ai.input.messages, gen_ai.output.messagesMessage arrays or objects emitted by the runtime
gen_ai.toolTool metadata such as name, type, description, definitions, and call.id, call.arguments, or call.result
gen_ai.retrievalRetrieval context such as query_text and documents
gen_ai.evaluationEvaluation metadata such as name, explanation, score.label, and score.value
gen_ai.agent, gen_ai.provider, gen_ai.workflowRuntime-specific agent, provider, and workflow metadata

Optional context

Optional context fields add detail when available:
FieldDetail
userLocal user metadata
originWhether the event came from local endpoint telemetry, cloud telemetry, or CI telemetry
runCI provider and run metadata, including repository, branch, commit, workflow, job, actor, and pull-request identifiers
sessionConversation or runtime session metadata
toolTool name, command, or path metadata
fileFile path, operation, language, diff hash, or diff byte counts
commandShell command, exit code, or duration metadata
mcpMCP-like server and tool metadata
approvalApproval requirement, decision, or reason
policyPolicy ID, name, decision, enforcement mode, or reason
contentContent inclusion, redaction, and truncation state
gen_aiOpenTelemetry GenAI request, response, usage, message, tool, retrieval, evaluation, provider, and workflow metadata
destinationOutput destination state, such as Wazuh localfile validation
healthComponent health status
model, repository, branch, message, raw, field_truncatedAdditional runtime context and truncation metadata

Endpoint event schema

Return to the schema overview.

Schema normalization

See how source fields map into the endpoint event contract.

Schema examples

Inspect example endpoint events and content handling behavior.