# AI-powered anomaly detection for AWS Systems Manager Session Manager logs using Amazon Bedrock

DevFeed: [AI-powered anomaly detection for AWS Systems Manager Session Manager logs using Amazon Bedrock](<https://devfeed.tech/articles/ai-powered-anomaly-detection-for-aws-systems-manager-session-manager-logs-using-amazon-bedrock-85928.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/mt/ai-powered-anomaly-detection-for-aws-systems-manager-session-manager-logs-using-amazon-bedrock/>)

Author: Rohan Vashi

Published: 2026-10-13T16:59:45Z

Content type: tutorial

Language: en

Sources: [AWS Cloud Operations Blog](<https://devfeed.tech/sources/aws-cloud-operations-blog.md>)

Topics: [threat detection](<https://devfeed.tech/topics/threat-detection.md>), [Amazon Bedrock](<https://devfeed.tech/topics/amazon-bedrock.md>), [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [Security, Identity, & Compliance](<https://devfeed.tech/topics/security-identity-compliance.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Amazon Managed Service for Prometheus](<https://devfeed.tech/topics/amazon-managed-service-for-prometheus.md>), [Amazon DynamoDB](<https://devfeed.tech/topics/amazon-dynamodb.md>), [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [ai](<https://devfeed.tech/tags/ai.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [amazon-cloudwatch-logs](<https://devfeed.tech/tags/amazon-cloudwatch-logs.md>), [amazon-dynamodb](<https://devfeed.tech/tags/amazon-dynamodb.md>), [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [amazon-s3-event-notifications](<https://devfeed.tech/tags/amazon-s3-event-notifications.md>), [amazon-simple-storage-service-s3](<https://devfeed.tech/tags/amazon-simple-storage-service-s3.md>), [amazon-sns](<https://devfeed.tech/tags/amazon-sns.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [aws-cloudtrail](<https://devfeed.tech/tags/aws-cloudtrail.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [aws-systems-manager](<https://devfeed.tech/tags/aws-systems-manager.md>), [aws-systems-manager-state-manager](<https://devfeed.tech/tags/aws-systems-manager-state-manager.md>), [claude](<https://devfeed.tech/tags/claude.md>), [incident](<https://devfeed.tech/tags/incident.md>), [management-governance](<https://devfeed.tech/tags/management-governance.md>), [security](<https://devfeed.tech/tags/security.md>), [security-incident](<https://devfeed.tech/tags/security-incident.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

The tutorial describes a solution that analyzes AWS Systems Manager Session Manager transcripts with Amazon Bedrock, classifies sessions for suspicious activity, and alerts security analysts. It also explains how analysts can query session summaries and raw logs in natural language through an Amazon Bedrock AgentCore harness.

## Source excerpt

When an operations engineer or developer starts an AWS Systems Manager Session Manager session on a managed node, every command they run is captured as a transcript. Any one of those commands is either routine work or the first sign of a security incident. At scale, with hundreds of nodes generating thousands of command entries [...]