简体   繁体   中英

Need to add Tags for Cloudwatch log groups

In our Project, there are 1000's of CloudWatch Log groups. I need to add tags for all log groups. is there a way that I can add tags for all log groups at a time?

tag-log-group allows you to add tag to one log group at a time. There is no batch api that allows you to do it in one go for multiple log groups. If you are using aws cli or sdk , it should be easy enough to retrieve describe-log-groups and run execute tag-log-group .

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