turbot/oci_insights

Query: compute_instance_24_hrs

Usage

powerpipe query oci_insights.query.compute_instance_24_hrs

Steampipe Tables

SQL

select
count(*) as value,
'< 24 hours' as label
from
oci_core_instance
where
lifecycle_state <> 'TERMINATED' and time_created > now() - '1 days' :: interval;

Dashboards

The query is used in the dashboards: