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://github.com/awslabs/cloudwatch-logs-subscription-consumer/issues/18#issuecomment-246456407