TylerBrock / saw

Fast, multi-purpose tool for AWS CloudWatch Logs
MIT License
1.41k stars 79 forks source link

How can I watch multiple log groups at once? #38

Open felixchan opened 5 years ago

felixchan commented 5 years ago

I have these log groups:

/aws/lambda/ether-dev-createAuthChallenge
/aws/lambda/ether-dev-defineAuthChallenge
/aws/lambda/ether-dev-preSignUp
/aws/lambda/ether-dev-verifyAuthChallengeResponse

How can I watch them all?

I have tried: saw watch [a-z0-9A-Z\/]*dev*

But throws error: 'logGroupName' failed to satisfy constraint: Member must satisfy regular expression pattern: [.-_/#A-Za-z0-9]+

udondan commented 5 years ago

I don't think that's currently possible. I used parallel for that.

parallel ::: 'saw watch group1' 'saw watch group2'