awslogs icon indicating copy to clipboard operation
awslogs copied to clipboard

Aggregating multiple groups

Open headlessme opened this issue 8 years ago • 8 comments

Any plans to add aggregation of multiple groups? We have a bunch of services running in ECS and it's sometimes useful to be able to view the aggregated logs of multiple of these services at once

headlessme avatar Sep 22 '17 14:09 headlessme

This would be extremely useful for Lambda, where an "app" is composed of many Lambda functions, and each function has its own log groups.

I'd like to be able to awslogs get /aws/lambda/*

screen shot 2018-02-17 at 9 22 54 am

nzoschke avatar Feb 17 '18 17:02 nzoschke

That would be ideal. Currently I run two or more CLI terminals and visually compare, and it sucks

danactive avatar Feb 22 '18 17:02 danactive

Looks like this feature is not currently possible https://github.com/jorgebastida/awslogs/issues/34

danactive avatar Feb 22 '18 17:02 danactive

I think http://boto3.readthedocs.io/en/latest/reference/services/logs.html#CloudWatchLogs.Client.filter_log_events makes this possible

khornberg avatar Mar 07 '18 16:03 khornberg

Nevermind, that is what this is already doing

khornberg avatar Mar 07 '18 17:03 khornberg

support now? I have the same demand

SebastianLavertheDe avatar Feb 28 '20 11:02 SebastianLavertheDe

I also think this would be very useful for serverless apps

ahouck avatar Jun 29 '21 20:06 ahouck

Surprised this isn't possible. It's pretty rare that I'm interested in one specific log group unless I know something is going wrong or needs to be monitored, which is full circle back to a global view. More often I'm looking for a global view that can be filtered for specifics, ie: grep ERROR would ideally be filtering all log groups for any ERROR. Once I find an error, the single group view would be more useful.

Yes I understand there are constraints, even AWS won't let you run a search like this in their Log Groups UI, likely for good reason.

hope-portal-services avatar Aug 06 '21 21:08 hope-portal-services