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

Query: Top 10 Source IPs

Usage

powerpipe query azure_activity_log_detections.query.activity_dashboard_logs_by_source_ip

Tailpipe Tables

SQL

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

Dashboards

The query is used in the dashboards: