turbot/tailpipe-mod-azure-activity-log-detections

Query: Logs by Subscription

Usage

powerpipe query azure_activity_log_detections.query.activity_dashboard_logs_by_subscription

Tailpipe Tables

SQL

select
subscription_id as "Subscription",
count(*) as "Logs"
from
azure_activity_log
where
subscription_id is not null
group by
subscription_id
order by
count(*) desc
limit 10;

Dashboards

The query is used in the dashboards: