AWS Security ChangesHomeSearch

AWS elasticbeanstalk documentation change

Service: elasticbeanstalk · 2026-03-19 · Documentation low

File: elasticbeanstalk/latest/dg/eb3-logs.md

Summary

Updated eb logs command documentation to include new --analyze option for AI-powered environment analysis using Amazon Bedrock

Security assessment

The change adds documentation for a new AI analysis feature but does not mention security fixes, vulnerabilities, or security features. It's a feature enhancement for troubleshooting.

Diff

diff --git a/elasticbeanstalk/latest/dg/eb3-logs.md b/elasticbeanstalk/latest/dg/eb3-logs.md
index cad15dd77..026122ef4 100644
--- a//elasticbeanstalk/latest/dg/eb3-logs.md
+++ b//elasticbeanstalk/latest/dg/eb3-logs.md
@@ -11 +11 @@ DescriptionSyntaxOptionsOutputExamples
-The **eb logs** command has two distinct purposes: to enable or disable log streaming to CloudWatch Logs, and to retrieve instance logs or CloudWatch Logs logs. With the `--cloudwatch-logs` (`-cw`) option, the command enables or disables log streaming. Without this option, it retrieves logs.
+The **eb logs** command has three distinct purposes: to enable or disable log streaming to CloudWatch Logs, to retrieve instance logs or CloudWatch Logs logs, and to request AI-powered analysis of your environment. With the `--cloudwatch-logs` (`-cw`) option, the command enables or disables log streaming. With the `--analyze` (`-ai`) option, the command requests an AI-powered analysis of your environment's logs, events, and instance health. Without either of these options, it retrieves logs.
@@ -17 +17 @@ The command processes logs for the specified or default environment. Relevant lo
-For more information, see [Using Elastic Beanstalk with Amazon CloudWatch Logs](./AWSHowTo.cloudwatchlogs.html).
+For more information, see [Using Elastic Beanstalk with Amazon CloudWatch Logs](./AWSHowTo.cloudwatchlogs.html). For more information about AI-powered analysis, see [AI-powered environment analysis](./health-ai-analysis.html).
@@ -35,0 +36,5 @@ To retrieve environment health logs:
+To request AI-powered analysis: 
+    
+    
+    eb logs --analyze [environment-name]
+
@@ -67,0 +73 @@ For information about the log group corresponding to each log file, see [How Ela
+`-ai` or `--analyze` |  Requests an AI-powered analysis of your environment's logs, events, and instance health. The analysis uses Amazon Bedrock to identify root causes and recommend solutions for environment health issues. The command sends the request, waits for the analysis to complete, and then displays the results. This option is not compatible with `--instance`, `--all`, `--zip`, `--log-group`, or `--cloudwatch-logs`. For prerequisites and required permissions, see [AI-powered environment analysis](./health-ai-analysis.html).  
@@ -77,0 +84,2 @@ With `--all` and `--zip`, saves the logs to local files and displays the file lo
+With `--analyze`, displays the AI-generated analysis directly in the terminal after the analysis completes.
+
@@ -98,0 +107,10 @@ The following example retrieves instance logs into a `.zip` file.
+The following example requests an AI-powered analysis of the environment.
+    
+    
+    $ eb logs --analyze
+    Analyzing environment...
+    No critical issues detected. Environment appears healthy.
+    
+    ---
+    Note: This analysis was generated by AI.
+