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

Query: Top 10 Services (Excluding Read-Only)

Description

List the top 10 services by frequency, excluding read-only events.

Usage

powerpipe query aws_cloudtrail_log_detections.query.activity_dashboard_logs_by_service

Tailpipe Tables

SQL

select
event_source as "Service",
count(*) as "Logs"
from
aws_cloudtrail_log
where
not read_only
group by
event_source
order by
count(*) desc
limit 10;

Dashboards

The query is used in the dashboards: