cloudformation如何输入多个日志组
How to input multiple log groups for cloudformation
所以我有一个云形成堆栈,AWS 对这个 https://aws.amazon.com/blogs/aws/cloudwatch-logs-subscription-consumer-elasticsearch-kibana-dashboards/?adbsc=startups_20150803_50195176&adbid=628221613226332160&adbpl=tw&adbpr=168826960 堆栈进行了一些修改。问题是我想将多个日志组流式传输到 ES 和 kibana。
我认为合乎逻辑的解决方案是将类型:字符串更改为类型:CommaDelimitedList:
"LogGroupName": {
"Description": "The CloudWatch Logs log group to use as the source for the subscription that feeds the Elasticsearch cluster",
"Type": "String",
"Default": ""
},
但这给了我一个错误,即 LogGroupName 类型必须是一个字符串。为什么这种方法不起作用?
所以我有一个云形成堆栈,AWS 对这个 https://aws.amazon.com/blogs/aws/cloudwatch-logs-subscription-consumer-elasticsearch-kibana-dashboards/?adbsc=startups_20150803_50195176&adbid=628221613226332160&adbpl=tw&adbpr=168826960 堆栈进行了一些修改。问题是我想将多个日志组流式传输到 ES 和 kibana。
我认为合乎逻辑的解决方案是将类型:字符串更改为类型:CommaDelimitedList:
"LogGroupName": {
"Description": "The CloudWatch Logs log group to use as the source for the subscription that feeds the Elasticsearch cluster",
"Type": "String",
"Default": ""
},
但这给了我一个错误,即 LogGroupName 类型必须是一个字符串。为什么这种方法不起作用?