In short.
This guide explains custom activity logging for administrators and developers managing Claude Office agents, with the catch that sensitive content is exported without redaction while assistant replies are omitted. It covers OTLP/HTTP configuration, nested records of prompts and tool actions, and differences between Claude Enterprise and direct-provider deployments. Its schema can support activity investigations and usage analysis, but 4,000-character limits constrain conversation reconstruction. Delivery reliability, collector compatibility and total operating costs are not established.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete documentation page at [https://support.claude.com/en/articles/14447276-configure-a-custom-opentelemetry-collector-for-office-agents.md], captured as selected-page.txt at 2026-11-23T10:09:24.641Z with source revision sha256:e021baeeb4088d4ca85f8b4d5b6696e88817b2fd367913f9f263b623b439c45d. Coverage includes its configuration instructions, deployment differences, span reference, events, surface-specific behavior and reconstruction guidance. Linked pages, the admin console and installation-helper implementation are excluded. The page supplies no documentation license notice. No configuration, collector, Office session or linked code was executed; reliability, performance, delivery guarantees and deployment compatibility remain unverified.
The overview
Resource identity
This is an Anthropic support guide for configuring a custom OpenTelemetry collector for Claude Office agents. The source is [https://support.claude.com/en/articles/14447276-configure-a-custom-opentelemetry-collector-for-office-agents.md].
It teaches a configuration feature and explains its telemetry schema. The documented Microsoft Office surfaces are Excel, Word, PowerPoint and Outlook; Google Workspace add-ins require separate configuration.
Practical assessment
The guide is useful for organizations that already operate a monitoring platform or security information and event management system and want control over trace retention, encryption and integration. Its strongest practical detail is the connection between configuration settings and the records an investigator can query.
Suitability depends on accepting sensitive-content collection and incomplete conversation text. Configured trace spans go exclusively to the organization's collector, while office_agent.* counters still route to Anthropic. Those counter signals are also represented as span events in the exported traces.
Intended users
The primary users are enterprise administrators, observability engineers and security teams responsible for Claude activity in Office documents. Developers implementing direct-provider deployments also receive specific guidance for manifest parameters, Microsoft Entra ID claims and startup configuration endpoints.
Beginners can use the page to understand what gets logged. Implementing it requires familiarity with an organization's Office deployment and telemetry infrastructure. Teams using direct providers also need their own logs to attribute sessions to people.
Documented capabilities
The guide describes records for each user turn, model call, tool execution, context compaction and, for Claude.ai deployments, file upload. Fields cover document URLs, selected models, token usage, tool inputs and outputs, errors and approval decisions.
Excel records can include cells read, written and copied, plus events for collisions with an active cell edit. Word has events tracking proposed edits through parsing, application and review. PowerPoint and Outlook use the common schema without additional surface-specific fields documented here.
Claude.ai deployments include account identity and MCP server metadata. Direct-provider deployments omit those fields and file upload spans, reducing the available attribution and platform context.
Using it
Requirements
Custom collectors are documented for Claude Enterprise organizations and direct-provider deployments using Amazon Bedrock, Google Vertex AI or a gateway. Enterprise configuration requires an organization administrator.
The collector must accept OTLP over HTTP at a /v1/traces path. The add-in appends that path to the configured base URL. gRPC is unsupported because the add-in runs inside an Office WebView; Enterprise configuration rejects it. HTTPS is strongly recommended for Enterprise and specified for direct-provider endpoint values.
Optional authentication headers use comma-separated key=value pairs. The page does not establish collector sizing, cross-origin requirements, network configuration or compatibility with particular collector products.
How the telemetry works
OpenTelemetry represents an operation as a trace containing spans: individual records linked by parent and child relationships. Here, agent.query represents one user turn, agent.stream records its model calls, and agent.tool_execution records tool calls beneath those model calls. Compaction and file uploads have their own span types.
Every span carries service.name, service.version and git.sha. Surface labels distinguish Excel, Word, PowerPoint and Outlook, while session.id connects activity within an add-in session. Missing deployment-specific attributes are omitted rather than emitted with null values.
Metrics are not exported to custom collectors as a metrics stream. Counter increments appear as events on active spans. Token-usage events distinguish input, output, cache-read and cache-creation tokens, supporting usage aggregation without supplying prices.
Configuration paths
For Claude Enterprise authentication, an administrator sets otlp_endpoint and optional otlp_headers under Organization settings > Office agents at [https://claude.ai/admin-settings/office-agents]. The setting applies organization-wide.
Direct-provider deployments can supply the same keys through taskpane URL parameters, Entra directory extension claims or a bootstrap endpoint's JSON response. Manifest values are read first, Entra values override them, and bootstrap values take final precedence. Manifest values must be URL-encoded.
The Entra route uses extn.otlp_endpoint and extn.otlp_headers and requires entra_sso=1 for Nested App Authentication. The add-in unwraps single-element claim arrays. A bootstrap URL can come from the manifest or extn.bootstrap_url; an acquired Entra token is passed to that endpoint as Bearer authorization.
The page recommends an installation helper at [https://github.com/anthropics/financial-services/tree/main/claude-for-msft-365-install]. Its implementation is outside this guide's assessed scope. An empty or unset otlp_endpoint leaves custom collection unconfigured.
Example investigation
For a proposed Excel investigation, filter spans using agent.surface=sheet and the relevant session.id. Order agent.query records by start time, inspect their document.url and user.message values, and follow their model-call and tool-execution descendants.
A tool record can show the attempted input, recorded result, success flag, affected cell counts and tool.accept_decision. The decision distinguishes manual approval, standing approval through auto_accept, and deferred review.
With Claude.ai authentication, user.email or user.account_uuid provides attribution. A direct-provider investigation requires correlation with the organization's identity or access logs. This is an illustrative use of the documented schema; no investigation or export was executed.
Assessment & evidence
Limits and unresolved behavior
Session reconstruction has substantial text limits despite the page's description of a complete transcript. Assistant response text is absent. Prompts, serialized tool inputs and serialized tool outputs are each limited to their first 4,000 characters. tool.output_chars exposes the full output length, helping identify truncated tool output.
Direct-provider traces contain no Claude.ai user identity, MCP metadata or file upload spans. The guide proposes correlation with identity-provider and access logs but supplies no worked example proving that correlation.
The page does not document export retries, buffering, sampling, outage handling, delivery guarantees or performance overhead. Export completeness and behavior during collector failures remain unknown. Automatic redaction is not documented.
Fit for different needs
The documented fields make this approach plausible for investigating document actions, tool failures, approval patterns and token usage. That assessment follows from the schema; actual export accuracy and operational reliability have not been demonstrated.
A requirement to retain complete conversations would exceed the documented text coverage because assistant replies are missing and long fields are truncated. A requirement to identify individual users is more directly supported by Claude.ai attributes; direct-provider attribution depends on external log correlation.
The absence of automatic redaction makes access and retention decisions central to suitability. The collector can receive the contents of work-related prompts and tool results alongside document locations.
Documented choices and alternatives
The guide offers configuration choices within the same feature. Enterprise administrators use a central organization setting. Direct-provider deployments can use manifest-wide settings, per-user Entra claims or a bootstrap response that returns configuration at startup.
The linked installation helper is presented as the recommended setup route, with manual configuration documented alongside it. The page does not compare collector vendors, alternative audit products or other guides, so their relative suitability is not assessed.
Evidence basis
The evidence is the complete Anthropic support page at [https://support.claude.com/en/articles/14447276-configure-a-custom-opentelemetry-collector-for-office-agents.md]. It supplies configuration keys, precedence rules, deployment differences, span attributes and session-reconstruction instructions.
The page provides documentation rather than measured validation. No benchmark results, successful collector receipts or end-to-end deployment results are supplied. Runtime behavior and compatibility with a particular monitoring system remain untested.
Access & freshness
Costs
The page provides no subscription prices, feature charges, collector operating costs or storage estimates. Total cost is unknown.
Model-call spans expose billed input and output token counts and may include cache token counts. These describe usage rather than monetary cost. The token events can support cost analysis when combined with applicable pricing, which this page does not provide.
Data ownership and rights
The guide states that the organization owns the exported telemetry and controls its retention, encryption and integration. Exported attributes can contain prompt text, tool inputs and outputs, document URLs and filenames; the exporter does not redact or filter these attributes.
The ownership statement concerns telemetry. It does not establish redistribution rights for the documentation or a license for the linked installation helper. Those rights are unknown from this page.
Freshness and version context
The supplied page capture is dated November 23, 2026. Its text contains no publication or last-updated date. The documented fixed service.version value of 1.0.0 is emitted telemetry metadata and does not establish the version of an installed Office add-in.
The statement that Bedrock and Vertex AI do not yet return cache token fields through the add-in's client is explicitly time-sensitive. Current provider support beyond this capture is unknown. The guide says those attributes will appear automatically when the provider responses include them.
Suggested next steps
Choose the configuration route matching the organization's authentication mode, then establish an OTLP/HTTP collector endpoint and any required authentication headers. Decide who may access raw prompt and tool content and how long it should be retained.
Before relying on the traces, verify a controlled Office session reaches the intended collector with the expected document, model, tool and approval fields. For direct providers, verify that the available logs can actually attribute session.id to a user. These are proposed validation steps; no such execution is evidenced.
Confirm that omitted assistant replies, field truncation and unavailable deployment-specific attributes are compatible with the intended audit. Obtain pricing and clarify collector-failure behavior before estimating operating costs or depending on complete delivery.
