Analyze Emr Logs
analyze_emr_logsAnalyze EMR logs against a curated knowledge base to identify known issues and receive remediation recommendations.
Instructions
Analyze EMR logs for known issues and recommendations.
This tool performs searchs against a comprehensive knowledge base of curated EMR issues across multiple big data frameworks. It's useful for quick analysis of directly provided EMR logs.
Usage Examples
Analyze Spark driver logs for OutOfMemoryError issues
Check YARN logs for container killed errors
Identify common Hadoop HDFS issues in namenode logs
Response Format
The response includes matched issues with:
Issue summary and detailed description
Matched patterns found in the logs
Confidence score for each match
Links to AWS Knowledge Center articles when available
Recommendations for remediation steps
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"log_content": "<log_content>"
},
"name": "analyze_emr_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_content | Yes | EMR log content to analyze for known issues. Provide raw log text from EMR cluster components (Spark, YARN, Hadoop, etc.). The tool will search for patterns matching curated EMR issues and recommendations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | Summary of the analysis results | |
| total_matches | Yes | Total number of matched issues | |
| matched_issues | No | Issues matched in the log content |