[英]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. 所以我有一个云形成堆栈,这个https://aws.amazon.com/blogs/aws/cloudwatch-logs-subscription-consumer-elasticsearch-kibana-dashboards/?adbsc=startups_20150803_50195176&adbid=628221613226332160&adbpl=tw&adbpr AWS = 168826960堆栈 The problem is that I want to stream multiple log groups to ES and kibana. 问题是我想将多个日志组流式传输到ES和kibana。
I thought the logical solution would be to change Type: String to Type: CommaDelimitedList : 我认为逻辑解决方案是将Type:String更改为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. 但这给我一个错误,即LogGroupName类型必须为字符串。 Why doesn't this method work? 为什么这种方法不起作用?
According to AWS, there isn't support for this feature yet : 根据AWS的说法,尚不支持此功能:
https://github.com/awslabs/cloudwatch-logs-subscription-consumer/issues/18#issuecomment-246456407 https://github.com/awslabs/cloudwatch-logs-subscription-consumer/issues/18#issuecomment-246456407
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.