turbot/tailpipe-mod-nginx-access-log-detections

Query: Top 10 Clients (Requests)

Description

List the top 10 client IPs by request count.

Usage

powerpipe query nginx_access_log_detections.query.activity_dashboard_top_10_clients

Tailpipe Tables

SQL

select
remote_addr as "Client IP",
count(*) as "Request Count"
from
nginx_access_log
group by
remote_addr
order by
count(*) desc,
remote_addr
limit 10;

Dashboards

The query is used in the dashboards: