Amazon CloudWatch应用洞察MCP服务器
高级
这是一个DevOps, AI RAG领域的自动化工作流,包含 57 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 为AI工具公开Amazon CloudWatch应用洞察API,包含27个操作
前置要求
- •可能需要目标 API 的认证凭证
使用的节点 (57)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "s0gUueSKjlF1cY61",
"meta": null,
"name": "Amazon CloudWatch Application Insights MCP 服务器",
"tags": [],
"nodes": [
{
"id": "21f34f1c-3755-4dda-a52e-1cc8830c3c59",
"name": "设置说明",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1400,
-260
],
"parameters": {
"color": 4,
"height": 1080,
"content": "### ⚙️ 设置说明"
},
"typeVersion": 1
},
{
"id": "4874bd67-0f9b-440e-a742-274aebb1cb00",
"name": "工作流概览",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1120,
-100
],
"parameters": {
"width": 320,
"height": 920,
"content": "## 🛠️ Amazon CloudWatch Application Insights MCP 服务器 ✅ 27 个操作"
},
"typeVersion": 1
},
{
"id": "28e83cfd-48b6-46bf-afeb-96765003301c",
"name": "Amazon CloudWatch Application Insights MCP 服务器",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
-940,
-240
],
"webhookId": "fd94175b-1856-44af-8bcb-15e3765120dd",
"parameters": {
"path": "amazon-cloudwatch-application-insights-mcp"
},
"typeVersion": 1
},
{
"id": "28441846-54bf-4c3a-a227-97ca2561fa16",
"name": "添加一个从资源创建的应用程序",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-400,
-200
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.CreateApplication",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Adds an application that is created from a resource group.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "87e8b644-77d1-475d-896a-b84b903935c0",
"name": "网格注释 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
-260
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 创建应用程序"
},
"typeVersion": 1
},
{
"id": "039bb079-d401-4d3a-b820-d146e0b08ae8",
"name": "通过分组相似状态创建自定义组件",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-120,
-200
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.CreateComponent",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Creates a custom component by grouping similar standalone instances to monitor.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "c79ea7ed-d101-4745-956d-5a300c22b22c",
"name": "网格注释 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
-260
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 创建组件"
},
"typeVersion": 1
},
{
"id": "c454356c-40b9-4ded-8054-1ced52bca8c0",
"name": "向 <code>LogPatternSet</code> 添加日志模式",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
160,
-200
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.CreateLogPattern",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Adds an log pattern to a <code>LogPatternSet</code>.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "9dc7a36b-fe59-4d20-88b8-75991918cb07",
"name": "网格注释 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
-260
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 创建日志模式"
},
"typeVersion": 1
},
{
"id": "d38e799e-fec9-4b78-b99f-c562bb1d7029",
"name": "从监控中移除指定的应用程序。",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
440,
-200
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DeleteApplication",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Removes the specified application from monitoring. Does not delete the application.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "013142e2-91de-4a20-98b3-38e72873c180",
"name": "网格注释 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
-260
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 删除应用程序"
},
"typeVersion": 1
},
{
"id": "c3ce5c0a-0985-495b-a677-a0e54126d0dc",
"name": "取消自定义组件分组。当您取消自定义组件分组时",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
720,
-200
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DeleteComponent",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "ccda5053-55c5-43df-bf27-6a1376aace6d",
"name": "网格注释 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
-260
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 删除组件"
},
"typeVersion": 1
},
{
"id": "9d7f4f9e-b315-4cc4-bca2-7b854590a0f1",
"name": "从 <code>LogPatternSet</code> 中移除指定的日志模式",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-680,
20
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DeleteLogPattern",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Removes the specified log pattern from a <code>LogPatternSet</code>.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "138a6734-e553-4e8a-a0b2-0f497258efd1",
"name": "网格注释 6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-760,
-40
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 删除日志模式"
},
"typeVersion": 1
},
{
"id": "b7c08261-86fb-4c3e-9b98-5c5c62ed1f0f",
"name": "描述应用程序。",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-400,
20
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DescribeApplication",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Describes the application.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "9b841e2a-e690-431a-887b-c0df5bf6df3a",
"name": "网格注释 7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
-40
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 描述应用程序"
},
"typeVersion": 1
},
{
"id": "549c8025-31a0-433b-b1de-7276dffd7f08",
"name": "描述组件并列出组成该组件的资源",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-120,
20
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DescribeComponent",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Describes a component and lists the resources that are grouped together in a component.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "d0792127-7b8f-4332-b0aa-4e1f62f38478",
"name": "网格注释 8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
-40
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 描述组件"
},
"typeVersion": 1
},
{
"id": "f1701144-73f4-4984-bd85-d4bf38a6bc2b",
"name": "描述组件的监控配置",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
160,
20
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DescribeComponentConfiguration",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Describes the monitoring configuration of the component.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "a683cdbd-bc04-488f-8b45-f1f0e8ef12ed",
"name": "网格注释 9",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
-40
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 描述组件配置"
},
"typeVersion": 1
},
{
"id": "0e96d18a-d911-413c-be7f-ab043c739416",
"name": "描述组件的推荐监控配置",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
440,
20
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DescribeComponentConfigurationRecommendation",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Describes the recommended monitoring configuration of the component.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "9869b2e5-9c5e-410c-b280-3ef985e17d64",
"name": "网格注释 10",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
-40
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 描述组件配置推荐"
},
"typeVersion": 1
},
{
"id": "1b645df3-0f02-4f69-b8d0-96917cebe93a",
"name": "从 <code>LogPatternSet</code> 描述特定日志模式",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
720,
20
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DescribeLogPattern",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Describe a specific log pattern from a <code>LogPatternSet</code>.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "df0cbf8c-4a53-4c17-9e2a-a52ba7be002a",
"name": "网格注释 11",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
-40
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 描述日志模式"
},
"typeVersion": 1
},
{
"id": "d0b927e7-8bb3-43aa-bec8-37aeb8571a1d",
"name": "描述应用程序的异常或错误",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-680,
240
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DescribeObservation",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Describes an anomaly or error with the application.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "07b0d784-10fd-405f-9da4-673f4c8fd3bd",
"name": "网格注释 12",
"type": "n8n-nodes-base.stickyNote",
"position": [
-760,
180
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 描述观察"
},
"typeVersion": 1
},
{
"id": "88f7d14b-7ec3-4fdc-a0e9-ac58b611f521",
"name": "描述应用程序问题。",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-400,
240
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DescribeProblem",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Describes an application problem.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "3e7abd03-a7d9-4925-aa68-119af4e04463",
"name": "网格注释 13",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
180
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 描述问题"
},
"typeVersion": 1
},
{
"id": "c5eb6076-751d-4c19-89f4-c9a9d7a0b024",
"name": "描述与问题相关的异常或错误",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-120,
240
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.DescribeProblemObservations",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Describes the anomalies or errors associated with the problem.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "18e1d50d-483d-4db4-9d68-3e6cd7896e83",
"name": "网格注释 14",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
180
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 描述问题观察"
},
"typeVersion": 1
},
{
"id": "dda98ea5-6254-48c5-8298-b668325c3442",
"name": "列出您正在监控的应用程序的 ID",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
160,
240
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.ListApplications",
"method": "POST",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "MaxResults",
"value": "={{ $fromAI('MaxResults', 'Pagination limit', 'string') }}"
},
{
"name": "NextToken",
"value": "={{ $fromAI('NextToken', 'Pagination token', 'string') }}"
}
]
},
"toolDescription": "Lists the IDs of the applications that you are monitoring. \n\nParameters:\n- Query parameters:\n • MaxResults (optional) - Pagination limit\n • NextToken (optional) - Pagination token\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "10dad78a-0db4-48cd-ae1f-dba4c26de051",
"name": "网格注释 15",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
180
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 列出应用程序"
},
"typeVersion": 1
},
{
"id": "2cc9740f-6c24-4e60-b52c-f4f1b70837f4",
"name": "列出自动分组、独立和自定义组件",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
440,
240
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.ListComponents",
"method": "POST",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "MaxResults",
"value": "={{ $fromAI('MaxResults', 'Pagination limit', 'string') }}"
},
{
"name": "NextToken",
"value": "={{ $fromAI('NextToken', 'Pagination token', 'string') }}"
}
]
},
"toolDescription": "Lists the auto-grouped, standalone, and custom components of the application.\n\nParameters:\n- Query parameters:\n • MaxResults (optional) - Pagination limit\n • NextToken (optional) - Pagination token\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "e1486666-eebf-4485-9dbf-5da506652ca1",
"name": "网格注释 16",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
180
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 列出组件"
},
"typeVersion": 1
},
{
"id": "514f9f47-6d16-4a82-8636-a953b2886a89",
"name": "<p> 列出特定配置更改的 INFO、WARN 和 ERROR 事件",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
720,
240
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.ListConfigurationHistory",
"method": "POST",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "MaxResults",
"value": "={{ $fromAI('MaxResults', 'Pagination limit', 'string') }}"
},
{
"name": "NextToken",
"value": "={{ $fromAI('NextToken', 'Pagination token', 'string') }}"
}
]
},
"toolDescription": "<p> Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: </p> <ul> <li> <p>INFO: creating a new alarm or updating an alarm threshold.</p> </li> <li> <p>WARN: alarm not created due to insufficient data points used to predict thresholds.</p> </li> <li> <p>ERROR: alarm not created due to permission errors or exceeding quotas. </p> </li> </ul>\n\nParameters:\n- Query parameters:\n • MaxResults (optional) - Pagination limit\n • NextToken (optional) - Pagination token\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "b5248965-6c4d-4ac4-9b36-93670038ccec",
"name": "网格注释 17",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
180
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 列出配置历史"
},
"typeVersion": 1
},
{
"id": "37d61390-61d8-4c3f-897e-5114435b43ad",
"name": "列出特定应用程序中的日志模式集",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-680,
460
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.ListLogPatternSets",
"method": "POST",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "MaxResults",
"value": "={{ $fromAI('MaxResults', 'Pagination limit', 'string') }}"
},
{
"name": "NextToken",
"value": "={{ $fromAI('NextToken', 'Pagination token', 'string') }}"
}
]
},
"toolDescription": "Lists the log pattern sets in the specific application.\n\nParameters:\n- Query parameters:\n • MaxResults (optional) - Pagination limit\n • NextToken (optional) - Pagination token\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "ba562742-0190-4b5f-838d-1ac53565809b",
"name": "网格注释 18",
"type": "n8n-nodes-base.stickyNote",
"position": [
-760,
400
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 列出日志模式集"
},
"typeVersion": 1
},
{
"id": "2b77631e-cc33-4b37-b3a5-30344b6d1511",
"name": "列出特定日志 <code>LogPatternSet</code> 中的日志模式",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-400,
460
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.ListLogPatterns",
"method": "POST",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "MaxResults",
"value": "={{ $fromAI('MaxResults', 'Pagination limit', 'string') }}"
},
{
"name": "NextToken",
"value": "={{ $fromAI('NextToken', 'Pagination token', 'string') }}"
}
]
},
"toolDescription": "Lists the log patterns in the specific log <code>LogPatternSet</code>.\n\nParameters:\n- Query parameters:\n • MaxResults (optional) - Pagination limit\n • NextToken (optional) - Pagination token\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "e1179b2c-7012-4578-9105-d59f0c5d1b7a",
"name": "网格注释 19",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
400
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 列出日志模式"
},
"typeVersion": 1
},
{
"id": "06414627-79f4-4bc3-a895-07f862beb3a0",
"name": "列出您的应用程序的问题。",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-120,
460
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.ListProblems",
"method": "POST",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "MaxResults",
"value": "={{ $fromAI('MaxResults', 'Pagination limit', 'string') }}"
},
{
"name": "NextToken",
"value": "={{ $fromAI('NextToken', 'Pagination token', 'string') }}"
}
]
},
"toolDescription": "Lists the problems with your application.\n\nParameters:\n- Query parameters:\n • MaxResults (optional) - Pagination limit\n • NextToken (optional) - Pagination token\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "dc25f0ca-d9c4-4316-af85-b60a95b1868d",
"name": "网格注释 20",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
400
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 列出问题"
},
"typeVersion": 1
},
{
"id": "c86de5d3-c9d4-437a-9f69-237aa65c6bb9",
"name": "检索应用于指定资源的标签(键和值)列表",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
160,
460
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.ListTagsForResource",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Retrieve a list of the tags (keys and values) that are associated with a specified application. A <i>tag</i> is a label that you optionally define and associate with an application. Each tag consists of a required <i>tag key</i> and an optional associated <i>tag value</i>. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "7ff1878d-7cbe-46e3-9390-5d6c35a306db",
"name": "网格注释 21",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
400
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 列出资源的标签"
},
"typeVersion": 1
},
{
"id": "db363d05-e6fc-4482-92cc-b1d3b771d672",
"name": "<p>向指定资源添加一个或多个标签(键和值)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
440,
460
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.TagResource",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "<p>Add one or more tags (keys and values) to a specified application. A <i>tag</i> is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. </p> <p>Each tag consists of a required <i>tag key</i> and an associated <i>tag value</i>, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.</p>\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "9c60cd0e-437e-4db2-ad82-2f1d9a921305",
"name": "网格注释 22",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
400
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 标记资源"
},
"typeVersion": 1
},
{
"id": "a5781953-9861-4e00-acbd-d325bd4490a6",
"name": "从指定资源移除一个或多个标签(键和值)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
720,
460
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.UntagResource",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Remove one or more tags (keys and values) from a specified application.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "22bca4f5-1e3f-4dbc-9cd6-34a206ed316b",
"name": "网格注释 23",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
400
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 取消标记资源"
},
"typeVersion": 1
},
{
"id": "c415e1e9-03cc-4ef0-8ec5-614bce5f3d8c",
"name": "更新应用程序。",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-680,
680
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.UpdateApplication",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Updates the application.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "2f99c67b-db01-444b-ab42-d7c49469c9fd",
"name": "网格注释 24",
"type": "n8n-nodes-base.stickyNote",
"position": [
-760,
620
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 更新应用程序"
},
"typeVersion": 1
},
{
"id": "ec99b141-82ab-4ab5-a8ce-e10b4d0c40c3",
"name": "更新自定义组件名称和/或资源列表",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-400,
680
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.UpdateComponent",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Updates the custom component name and/or the list of resources that make up the component.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "6b87e065-ebb4-4116-8699-22f9c0d9b013",
"name": "网格注释 25",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
620
],
"parameters": {
"color": 7,
"height": 220,
"content": "## 更新组件"
},
"typeVersion": 1
},
{
"id": "e8d29ea6-d207-4c9b-bf82-012b990a9b24",
"name": "更新组件的监控配置",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-120,
680
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.UpdateComponentConfiguration",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by <code>DescribeComponentConfigurationRecommendation</code>. \n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "cde68392-ada3-405f-b031-0dbe0c5a1482",
"name": "网格注释 26",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
620
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 更新组件配置"
},
"typeVersion": 1
},
{
"id": "b2b7d769-7300-407f-8e08-988c90d7ea3d",
"name": "向 <code>LogPatternSet</code> 添加日志模式",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
160,
680
],
"parameters": {
"url": "=http://applicationinsights.{region}.amazonaws.com/#X-Amz-Target=EC2WindowsBarleyService.UpdateLogPattern",
"method": "POST",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"toolDescription": "Adds a log pattern to a <code>LogPatternSet</code>.\n\nParameters:\n- Header parameters:\n • X-Amz-Target (required)",
"headerParameters": {
"parameters": [
{
"name": "X-Amz-Target",
"value": "={{ $fromAI('X-Amz-Target', 'X Amz Target', 'string') }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "cf36ef84-4244-4883-b37f-acffe953f7d6",
"name": "网格注释 27",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
620
],
"parameters": {
"color": 7,
"width": 260,
"height": 220,
"content": "## 更新日志模式"
},
"typeVersion": 1
}
],
"active": false,
"shared": [
{
"role": "workflow:owner",
"project": {
"id": "G5fce9xGuBAsWBXe",
"icon": null,
"name": "David Ashby <david.ashby.lds@gmail.com>",
"type": "personal",
"createdAt": "2025-06-04T02:55:02.013Z",
"updatedAt": "2025-06-04T02:56:01.361Z",
"projectRelations": [
{
"role": "project:personalOwner",
"user": {
"id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
"role": "global:owner",
"email": "david.ashby.lds@gmail.com",
"disabled": false,
"lastName": "Ashby",
"settings": {
"npsSurvey": {
"responded": true,
"lastShownAt": 1749357655581
},
"userActivated": true,
"userActivatedAt": 1749075994495,
"easyAIWorkflowOnboarded": true,
"firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
},
"createdAt": "2025-06-04T02:55:01.745Z",
"firstName": "David",
"isPending": false,
"updatedAt": "2025-06-08T04:40:58.399Z",
"mfaEnabled": false,
"personalizationAnswers": {
"version": "v4",
"personalization_survey_n8n_version": "1.95.3",
"personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
}
},
"userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
"createdAt": "2025-06-04T02:55:02.013Z",
"projectId": "G5fce9xGuBAsWBXe",
"updatedAt": "2025-06-04T02:55:02.013Z"
}
]
},
"createdAt": "2025-07-01T00:29:28.979Z",
"projectId": "G5fce9xGuBAsWBXe",
"updatedAt": "2025-07-01T00:29:28.979Z",
"workflowId": "s0gUueSKjlF1cY61"
}
],
"pinData": {},
"settings": {
"timezone": "America/New_York"
},
"createdAt": "2025-07-01T00:29:28.977Z",
"updatedAt": "2025-07-01T04:08:20.000Z",
"versionId": "a124e424-223b-4e8d-a4a0-57bb002c6ac0",
"isArchived": false,
"staticData": null,
"connections": {
"Updates the application.": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Describes the application.": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Describes an application problem.": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Lists the problems with your application.": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"<p> Lists the INFO, WARN, and ERROR events for per": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"<p>Add one or more tags (keys and values) to a spe": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Adds a log pattern to a <code>LogPatternSet</code>": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Adds an application that is created from a resourc": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Adds an log pattern to a <code>LogPatternSet</code": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Creates a custom component by grouping similar sta": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Describe a specific log pattern from a <code>LogPa": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Describes a component and lists the resources that": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Describes an anomaly or error with the application": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Describes the anomalies or errors associated with ": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Describes the monitoring configuration of the comp": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Describes the recommended monitoring configuration": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Lists the IDs of the applications that you are mon": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Lists the auto-grouped, standalone, and custom com": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Lists the log pattern sets in the specific applica": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Lists the log patterns in the specific log <code>L": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Remove one or more tags (keys and values) from a s": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Removes the specified application from monitoring.": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Removes the specified log pattern from a <code>Log": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Retrieve a list of the tags (keys and values) that": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Ungroups a custom component. When you ungroup cust": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Updates the custom component name and/or the list ": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Updates the monitoring configurations for the comp": {
"ai_tool": [
[
{
"node": "Amazon CloudWatch Application Insights MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
}
},
"triggerCount": 0
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 开发运维, AI RAG 检索增强
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AWS成本和用量报告服务MCP服务器
面向AI代理的AWS成本与用量报告管理
Http Request Tool
Mcp Trigger
11 节点David Ashby
开发运维
CarbonDoomsDay MCP服务器
通过CarbonDoomsDay API为AI代理访问CO2测量数据
Http Request Tool
Mcp Trigger
6 节点David Ashby
工程
大鼠基因组数据库REST API MCP服务器
通过REST API MCP服务器访问大鼠基因组数据库,含100+操作
Http Request Tool
Mcp Trigger
125 节点David Ashby
工程
api.clarify.io MCP服务器
使用Clarify API和AI代理集成的音视频数据搜索与分析
Http Request Tool
Mcp Trigger
27 节点David Ashby
工程
AWS CodeDeploy MCP服务器
使用AWS CodeDeploy自动化应用程序部署
Http Request Tool
Mcp Trigger
98 节点David Ashby
开发运维
广播与音乐服务 MCP 服务器
BBC 广播与音乐 API 集成中心,用于 AI 助手
Http Request Tool
Mcp Trigger
94 节点David Ashby
工程
工作流信息
难度等级
高级
节点数量57
分类2
节点类型3
作者
David Ashby
@cfomodzA hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord
外部链接
在 n8n.io 查看 →
分享此工作流