turbot/tailpipe-mod-aws-cloudtrail-log-detections

Query: Activity by Region

Usage

powerpipe query aws_cloudtrail_log_detections.query.activity_dashboard_logs_by_region

Tailpipe Tables

SQL

select
aws_region,
count(*) as "Logs"
from
aws_cloudtrail_log
group by
aws_region
order by
count(*) desc;

Dashboards

The query is used in the dashboards: