---
title: "Automate root cause analysis across Datadog and Elasticsearch with AWS DevOps Agent"
url: https://daily.dev/posts/automate-root-cause-analysis-across-datadog-and-elasticsearch-with-aws-devops-agent-pg6b3fzvz
source_url: https://aws.amazon.com/blogs/devops/automate-root-cause-analysis-across-datadog-and-elasticsearch-with-aws-devops-agent
type: article
source: "AWS"
published: 2026-08-06T10:37:27.641Z
updated: 2026-08-06T10:39:51.837Z
tags: ["devops", "mcp", "elk"]
reading_time: 18
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Automate root cause analysis across Datadog and Elasticsearch with AWS DevOps Agent

**[AWS](https://daily.dev/sources/aws)** · 18 min read · 0 upvotes · 0 comments

## Summary

AWS DevOps Agent can automate end-to-end root cause analysis for distributed system failures by integrating with Datadog, Elasticsearch, and AWS CloudTrail. The setup involves configuring EKS cluster access, native Datadog integration, and a custom Python MCP server that exposes 13 Elasticsearch query tools. Datadog monitors fire webhooks directly to AWS DevOps Agent, which then autonomously correlates message IDs, trace IDs, pod metrics, and CloudTrail deployment events across all backends. A real-world scenario demonstrates how a silent 404 regression introduced by a new container image push was diagnosed to root cause in under 6 minutes — a process that previously took hours of manual cross-tool investigation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://aws.amazon.com/blogs/devops/automate-root-cause-analysis-across-datadog-and-elasticsearch-with-aws-devops-agent>

## Similar posts on daily.dev

- [Integration with AWS DevOps Agent: Autonomous investigations powered by production context](https://daily.dev/posts/integration-with-aws-devops-agent-autonomous-investigations-powered-by-production-context-bne3y8fst) · Dynatrace · 4 upvotes · 0 comments
- [Production-Ready Autonomous Incident Resolution with AWS DevOps Agent \(now GA\) and Datadog MCP Server](https://daily.dev/posts/production-ready-autonomous-incident-resolution-with-aws-devops-agent-now-ga-and-datadog-mcp-serve-ndg2ps8n2) · AWS · 0 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#mcp](https://daily.dev/tags/mcp), [#elk](https://daily.dev/tags/elk)

[View this post on daily.dev](https://daily.dev/posts/automate-root-cause-analysis-across-datadog-and-elasticsearch-with-aws-devops-agent-pg6b3fzvz)
