turbot/aws_insights

Query: emr_cluster_logging

Usage

powerpipe query aws_insights.query.emr_cluster_logging

Steampipe Tables

SQL

select
'Logging' as label,
case when log_uri is null then 'Disabled' else 'Enabled' end as value,
case when log_uri is null then 'alert' else 'ok' end as type
from
aws_emr_cluster
where
cluster_arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: