# Monitoring Claude Code/Cowork at scale with OTel in Elastic

DevFeed: [Monitoring Claude Code/Cowork at scale with OTel in Elastic](<https://devfeed.tech/articles/monitoring-claude-code-cowork-at-scale-with-otel-in-elastic-48856.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/blog/claude-code-cowork-monitoring-otel-elastic>)

Author: Spencer Niemi

Published: 2026-04-25T00:00:00Z

Content type: article

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Security](<https://devfeed.tech/topics/security.md>), [agent observability](<https://devfeed.tech/topics/agent-observability.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [incident](<https://devfeed.tech/topics/incident.md>), [Incident response](<https://devfeed.tech/topics/incident-response.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [claude-code](<https://devfeed.tech/tags/claude-code.md>), [claude-cowork](<https://devfeed.tech/tags/claude-cowork.md>), [cli](<https://devfeed.tech/tags/cli.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [incident-response](<https://devfeed.tech/tags/incident-response.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [integrations-tools](<https://devfeed.tech/tags/integrations-tools.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [observability](<https://devfeed.tech/tags/observability.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>)

## AI overview

Elastic's InfoSec team built a monitoring pipeline for Claude Code and Claude Cowork using native OpenTelemetry exports and Elastic's ingestion infrastructure. The article covers telemetry, gateway deployment, Elasticsearch mappings, ingest pipelines, configuration delivery, and security use cases including threat detection, incident response, and compliance.

## Source excerpt

How Elastic's InfoSec team built a monitoring pipeline for Claude Code and Claude Cowork using their native OTel export capabilities and Elastic's OTel ingestion infrastructure.