cw icon indicating copy to clipboard operation
cw copied to clipboard

wildcard support for logGroupName?

Open savagekw opened this issue 3 years ago • 1 comments

Went' through all the issues and readme, didn't find a mention regarding the syntax of how to fetch multiple log groups by using some sort of wildcard. For example, if there are groups named as a pattern like /aws/service/id-0000[0-9], is there a way to fetch the logs from multiple groups by using a wildcard like syntax? Thanks.

savagekw avatar Mar 23 '21 19:03 savagekw

Hi @savagekw you can list multiple log groups, but you have to be explicit about naming. eg:

cw tail group1 group2 group3

The wildcard is a good idea. I might consider a PR on that.

lucagrulla avatar Mar 23 '21 20:03 lucagrulla