简体   繁体   中英

How to input multiple log groups for cloudformation

so I have a cloud formation stack, a bit modified version of this https://aws.amazon.com/blogs/aws/cloudwatch-logs-subscription-consumer-elasticsearch-kibana-dashboards/?adbsc=startups_20150803_50195176&adbid=628221613226332160&adbpl=tw&adbpr=168826960 stack by AWS. The problem is that I want to stream multiple log groups to ES and kibana.

I thought the logical solution would be to change Type: String to Type: CommaDelimitedList :

    "LogGroupName": {
  "Description": "The CloudWatch Logs log group to use as the source for the subscription that feeds the Elasticsearch cluster",
  "Type": "String",
  "Default": ""
},

But that gives me an error that the LogGroupName type must be a string. Why doesn't this method work?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM