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

Query: Top 10 User Agents (Requests)

Description

Distribution of user agents in requests.

Usage

powerpipe query apache_access_log_detections.query.activity_dashboard_requests_by_user_agent

Tailpipe Tables

SQL

select
http_user_agent as "User Agent",
count(*) as "Request Count"
from
apache_access_log
where
http_user_agent is not null
group by
http_user_agent
order by
count(*) desc,
http_user_agent
limit 10;

Dashboards

The query is used in the dashboards: