jorgebastida / awslogs

AWS CloudWatch logs for Humans™
Other
4.79k stars 333 forks source link

Aggregating multiple groups #154

Open headlessme opened 6 years ago

headlessme commented 6 years ago

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

nzoschke commented 6 years ago

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
danactive commented 6 years ago

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

danactive commented 6 years ago

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

khornberg commented 6 years ago

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

khornberg commented 6 years ago

Nevermind, that is what this is already doing

leoliuzcl commented 4 years ago

support now? I have the same demand

ahouck commented 3 years ago

I also think this would be very useful for serverless apps

hope-portal-services commented 2 years ago

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.