turbot/azure_insights

Query: app_service_web_app_by_http_logging

Usage

powerpipe query azure_insights.query.app_service_web_app_by_http_logging

SQL

select
http_logging,
count(*)
from
(
select
case
when (
configuration -> 'properties' ->> 'httpLoggingEnabled'
) :: boolean then 'Enabled'
else 'Disabled'
end as http_logging
from
azure_app_service_web_app
) as wa
group by
http_logging
order by
http_logging;

Dashboards

The query is used in the dashboards: