Default Dimension Definitions
CloudZero includes a set of built-in Dimensions that automatically categorize your cloud costs (for example, by service category, networking type, payment option, or AI model). These Dimensions appear under Cloud Provider Dimensions in the Explorer and other selectors.
The following YAML shows the full definitions for all built-in Dimensions. You can use these as a reference when writing your own Dimensions, or override them with custom definitions. To reference a built-in Dimension in your own definitions, use CZ:Defined:<DimensionID> as the source (for example, Source: CZ:Defined:Category). For a summary table of each Dimension's ID and description, see Additional Cloud Provider Dimensions.
Metadata:
Version: 1.0.29
Dimensions:
Elasticity:
Child: Service
DefaultValue: Fixed Costs
Hide: True
Name: Elasticity
Rules:
- Conditions:
- Equals: Storage
Source: CZ:Defined:Category
Name: Storage
Type: Group
- Conditions:
- Equals: Snowflake
Source: CloudProvider
- Equals:
- Networking
- Content Delivery
- Machine Learning
- Application Integration
- Analytics
- Internet of Things
- Cloud Management
- Security
Source: CZ:Defined:Category
- Equals:
- AWSLambda
- AmazonEKS
- AmazonECS
- AmazonECR
Source: Service
- Equals:
- Data Transfer
- API Request
- API Calls
Source: UsageFamily
- And:
- Equals: AmazonEC2
- Equals:
- Spot Instance
- NAT Gateway
Source: UsageFamily
- And:
- Equals: AmazonRDS
- Equals: System Operation
Source: UsageFamily
- And:
- Equals: AmazonDynamoDB
- Equals: Amazon DynamoDB PayPerRequest Throughput
Source: UsageFamily
- And:
- Equals: AWSCloudTrail
- Equals: Management Tools - AWS CloudTrail Data Events Recorded
Source: UsageFamily
Name: Variable Costs
Type: Group
Source: Service
NetworkingCategory:
Name: Networking Category
Child: CZ:Defined:NetworkingSubCategory
Source: Service
DefaultValue: Non-Networking Spend
Rules:
- Type: Group
Name: Unsupported Cloud Provider
Conditions:
- Not:
- Source: CloudProvider
Contains: [AWS, Azure, GCP, Oracle Cloud]
#--------------------------------------
# AWS Logic
#--------------------------------------
- Type: Group
Name: CloudFront # Must come first
Conditions:
- And:
- Equals: AmazonCloudFront
- Source: UsageFamily
Equals: Data Transfer
- Type: Group
Name: Data Transfer
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Source: UsageFamily
Equals: Data Transfer
- Type: Group
Name: NAT Gateway
Conditions:
- Source: UsageFamily
Equals: NAT Gateway
- Type: Group
Name: VPC Endpoint
Conditions:
- Source: UsageFamily
Equals: VpcEndpoint
- Type: Group
Name: Direct Connect
Conditions:
- Equals: AWSDirectConnect
- Type: Group
Name: VPC Client VPN
Conditions:
- And:
- Equals: AmazonVPC
- Source: UsageType
Contains: ClientVPN
- Type: Group
Name: VPC Transit Gateway
Conditions:
- And:
- Equals: AmazonVPC
- Source: UsageType
Contains: TransitGateway
- Type: Group
Name: VPC Peering
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Source: UsageFamily
Equals: VPC Peering
- Type: Group
Name: VPC
Conditions:
- Equals: AmazonVPC
- Type: Group
Name: Load Balancing
Conditions:
- Equals: AWSELB
- Type: Group
Name: DNS
Conditions:
- Equals: AmazonRoute53
- Type: Group
Name: VPC Flowlogs
Conditions:
- Source: CZ:Defined:NetworkingCategory_VPCFlowlog
Equals: VPC Flowlogs
- Type: Group
Name: File Transfer
Conditions:
- Equals: AWSTransfer
#--------------------------------------
# GCP Logic
#--------------------------------------
- Type: Group
Name: Load Balancing # Must come first
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: UsageFamily
Contains: Load Balancing
- Type: Group
Name: Data Transfer
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: UsageFamily
BeginsWith: Network
- Type: Group
Name: DNS
Conditions:
- Equals: Cloud DNS
- Type: Group
Name: Networking
Conditions:
- Equals: Networking
#--------------------------------------
# Azure Logic
#--------------------------------------
- Type: Group
Name: Virtual Network
Conditions:
- Equals: virtual network
- And:
- Equals: microsoft.network
- Source: UsageFamily
Equals: Virtual Network
- Type: Group
Name: Load Balancing
Conditions:
- And:
- Equals: microsoft.network
- Source: UsageFamily
Equals: Load Balancer
- Type: Group
Name: NAT Gateway
Conditions:
- And:
- Equals: microsoft.network
- Source: UsageFamily
Equals: NAT Gateway
- Type: Group
Name: DNS
Conditions:
- And:
- Equals: microsoft.network
- Source: UsageFamily
Equals: Azure DNS
- Type: Group
Name: Networking
Conditions:
- Equals: microsoft.network
#--------------------------------------
# Oracle Cloud Logic - Tier 1 Adapter
#--------------------------------------
- Type: Group
Name: Data Transfer
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: UsageFamily
Contains: Data Transfer
- Type: Group
Name: Firewall
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: Service
Transforms:
- Type: Lower
Equals: network_firewall
- Type: Group
Name: Load Balancing
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: Service
Transforms:
- Type: Lower
Equals: oralb
- Type: Group
Name: Networking
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: Service
Transforms:
- Type: Lower
Equals: network
- Type: Group
Name: VPN
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: Service
Transforms:
- Type: Lower
Equals: vpn
#--------------------------------------
# Confluent - Tier 1 Adapter
#--------------------------------------
- Type: Group
Name: Networking
Conditions:
- And:
- Source: CloudProvider
Equals: Confluent
- Source: UsageFamily
Equals: [Network Read, Network Write, Throughput]
NetworkingCategory_VPCFlowlog:
Name: Networking Category - VPC Flowlog
Hide: True
Rules:
- Type: Group
Name: VPC Flowlogs
Conditions:
- Source: CZ:Defined:ResourceType_Split
Equals: vpc-flow-log
NetworkingSubCategory:
Name: Networking Sub-Category
Source: UsageFamily
DefaultValue: Other
Rules:
- Type: Group
Name: Unsupported Cloud Provider
Conditions:
- Not:
- Source: CloudProvider
Contains: [AWS, Azure, GCP, Oracle Cloud]
- Type: Group
Name: Non-Networking Spend
Conditions:
- Source: CZ:Defined:NetworkingCategory
Equals: Non-Networking Spend
#--------------------------------------
# AWS Logic
#--------------------------------------
- Type: GroupBy
Source: TransferType
Conditions:
- And:
- Source: Service
Equals: AmazonCloudfront
- Equals: Data Transfer
- Type: Group
Name: S3 Inbound
Conditions:
- And:
- Source: Service
Equals: AmazonS3
- Equals: Data Transfer
- Source: UsageType
Contains: DataTransfer-In-Bytes
- Type: Group
Name: S3 Outbound
Conditions:
- And:
- Source: Service
Equals: AmazonS3
- Equals: Data Transfer
- Source: UsageType
Contains: DataTransfer-Out-Bytes
- Type: Group
Name: IntraRegion - AZ to AZ
Conditions:
- And:
- Equals: Data Transfer
- Source: UsageType
Contains: DataTransfer-Regional-Bytes
- Type: Group
Name: AWS Inbound
Conditions:
- And:
- Equals: Data Transfer
- Source: UsageType
Contains: DataTransfer-In-Bytes
- Type: Group
Name: AWS Outbound
Conditions:
- And:
- Equals: Data Transfer
- Source: UsageType
Contains: DataTransfer-Out-Bytes
- Type: Group
Name: InterRegion Inbound
Conditions:
- And:
- Equals: Data Transfer
- Source: UsageType
Contains: AWS-In-Bytes
- Type: Group
Name: InterRegion Outbound
Conditions:
- And:
- Equals: Data Transfer
- Source: UsageType
Contains: AWS-Out-Bytes
- Type: Group
Name: Data Transfer
Conditions:
- Equals: Data Transfer
- Type: Group
Name: NAT Gateway (Bytes)
Conditions:
- And:
- Equals: NAT Gateway
- Source: UsageType
Contains: Bytes
- Type: Group
Name: NAT Gateway (Hours)
Conditions:
- And:
- Equals: NAT Gateway
- Source: UsageType
Contains: Hours
- Type: Group
Name: NAT Gateway (Other)
Conditions:
- Equals: NAT Gateway
- Type: Group
Name: VPC PublicIPv4-InUseAddress
Conditions:
- And:
- Source: Service
Equals: AmazonVPC
- Source: UsageType
Contains: "PublicIPv4:InUseAddress"
- Type: Group
Name: VPC PublicIPv4-IdleAddress
Conditions:
- And:
- Source: Service
Equals: AmazonVPC
- Source: UsageType
Contains: "PublicIPv4:IdleAddress"
- Type: Group
Name: VPC Endpoint (Bytes)
Conditions:
- And:
- Equals: VpcEndpoint
- Source: UsageType
Contains: Bytes
- Type: Group
Name: VPC Endpoint (Hours)
Conditions:
- And:
- Equals: VpcEndpoint
- Source: UsageType
Contains: Hours
- Type: Group
Name: VpcPeering Out-Bytes
Conditions:
- And:
- Equals: VPC Peering
- Source: UsageType
Contains: VpcPeering-Out-Bytes
- Type: Group
Name: VpcPeering In-Bytes
Conditions:
- And:
- Equals: VPC Peering
- Source: UsageType
Contains: VpcPeering-In-Bytes
- Type: Group
Name: VPC Endpoint (Other)
Conditions:
- Equals: VpcEndpoint
- Type: Group
Name: Transit Gateway (Bytes)
Conditions:
- And:
- Source: UsageType
Contains: TransitGateway
- Source: UsageType
Contains: Bytes
- Type: Group
Name: Transit Gateway (Hours)
Conditions:
- And:
- Source: UsageType
Contains: TransitGateway
- Source: UsageType
Contains: Hours
- Type: Group
Name: Transit Gateway (Other)
Conditions:
- Source: UsageType
Contains: TransitGateway
- Type: Group
Name: Client VPN (Bytes)
Conditions:
- And:
- Source: UsageType
Contains: ClientVPN
- Source: UsageType
Contains: Bytes
- Type: Group
Name: Client VPN (Hours)
Conditions:
- And:
- Source: UsageType
Contains: ClientVPN
- Source: UsageType
Contains: Hours
- Type: Group
Name: Client VPN (Other)
Conditions:
- Source: UsageType
Contains: ClientVPN
- Type: GroupBy
Source: UsageFamily
Conditions:
- Source: Service
Equals:
- AmazonVPC
- AWSDirectConnect
- AWSELB
#--------------------------------------
# GCP Logic
#--------------------------------------
# Load Balancing
- Type: Group
Name: HTTP Load Balancing
Conditions:
- BeginsWith: HTTP Load Balancing
- Type: Group
Name: Internal Load Balancing
Conditions:
- BeginsWith: Network Internal Load Balancing
- Type: Group
Name: Network Load Balancing
Conditions:
- BeginsWith: Network Load Balancing
- Type: Group
Name: Network HTTP Load Balancing
Conditions:
- BeginsWith: Network HTTP Load Balancing
- Type: Group
Name: Networking Cloud Load Balancing
Conditions:
- BeginsWith: Networking Cloud Load Balancing
# "Networking"
- Type: Group
Name: Cloud Armor
Conditions:
- BeginsWith: Networking Cloud Armor
- Type: Group
Name: Service Directory Resource
Conditions:
- BeginsWith: Networking Service Directory
# Data Transfer
- Type: Group
Name: Traffic Egress
Conditions:
- BeginsWith: Networking Traffic Egress
- Type: Group
Name: Traffic Ingress
Conditions:
- BeginsWith: Networking Traffic Ingress
- Type: Group
Name: Google Egress
Conditions:
- BeginsWith: Network Google Egress
- Type: Group
Name: Google Ingress
Conditions:
- BeginsWith: Network Google Ingress
- Type: Group
Name: Internal Load Balancing
Conditions:
- BeginsWith: Network Internal Load Balancing
- Type: Group
Name: Internet Region Egress
Conditions:
- BeginsWith: Network Internet Egress
- Type: Group
Name: Internet Region Ingress
Conditions:
- BeginsWith: Network Internet Ingress
- Type: Group
Name: Intra Zone Egress
Conditions:
- BeginsWith: Network Intra Zone Egress
- Type: Group
Name: Intra Zone Ingress
Conditions:
- BeginsWith: Network Intra Zone Ingress
- Type: Group
Name: Inter Zone Egress
Conditions:
- BeginsWith: Network Inter Zone Egress
- Type: Group
Name: Inter Zone Ingress
Conditions:
- BeginsWith: Network Inter Zone Ingress
- Type: Group
Name: Inter Region Egress
Conditions:
- BeginsWith: Network Inter Region Egress
- Type: Group
Name: Inter Region Ingress
Conditions:
- BeginsWith: Network Inter Region Ingress
- Type: Group
Name: HTTP Load Balancing Egress
Conditions:
- BeginsWith: Network HTTP Load Balancing Egress
- Type: Group
Name: HTTP Load Balancing Ingress
Conditions:
- BeginsWith: Network HTTP Load Balancing Ingress
#--------------------------------------
# Azure Logic
#--------------------------------------
- Type: GroupBy
Source: Operation
Conditions:
- And:
- Source: CloudProvider
BeginsWith: Azure
- Not:
- Source: CZ:Defined:NetworkingCategory
Equals: Other
#--------------------------------------
# Oracle Cloud Logic - Tier 1 Adapter
#--------------------------------------
- Type: GroupBy
Source: UsageFamily
Conditions:
- Source: CloudProvider
BeginsWith: Oracle Cloud
#--------------------------------------
# Confluent - Tier 1 Adapter
#--------------------------------------
- Type: GroupBy
Source: UsageFamily
Conditions:
- Source: CloudProvider
BeginsWith: Confluent
BillingLineItem:
Name: Billing Line Item
Rules:
#--------------------------------------
# AWS Override Logic
#--------------------------------------
- Type: Group
Name: Tax
Conditions:
- Source: LineItemType
Equals: Tax
- Type: Group
Name: Support
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Source: Service
Equals: [OCBPremiumSupport, AWSSupportEnterprise, AWSSupportBusiness, AWSDeveloperSupport]
- Type: Group
Name: EdpRefund
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Source: LineItemType
Equals: Refund
- Source: Description
Equals: Enterprise Program Discount
- Type: Group
Name: MAP Credit
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Source: LineItemType
Equals: Credit
- Source: Description
Contains: [_MPE, _MAP, DBA_NC, SLS_SAP]
- Type: Group
Name: Credit
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Source: LineItemType
Equals: Refund
- Source: Description
Transforms:
- Type: Lower
Contains: credit
- Type: Group
Name: RICoveredUsage
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Source: LineItemType
Equals: DiscountedUsage
- Type: Group
Name: RIUpfrontFee
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Source: LineItemType
Equals: Fee
- Source: Description
BeginsWith: [Sign up charge for subscription, RI Marketplace charge]
- Not:
- Source: Service
Equals: APNFee
#--------------------------------------
# GCP Override Logic
#--------------------------------------
- Type: Group
Name: Support
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: LineItemType
Equals: Usage
- Source: Service
Equals: Support
- Type: Group
Name: Fee
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: LineItemType
Equals: Purchase
- Type: Group
Name: DiscountedUsage
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Or:
- And:
- Source: LineItemType
Equals: Usage
- Source: UsageFamily
BeginsWith: Commitment
- And:
- Source: LineItemType
Equals: Credit
- Source: Description
Contains: COMMITTED_USAGE_DISCOUNT
- Type: Group
Name: Discount
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- And:
- Source: LineItemType
Equals: Credit
- Not:
- Source: Description
Contains: PROMOTION
#--------------------------------------
# Confluent Logic - Tier 1 Adapter
#--------------------------------------
- Type: Group
Name: Support
Conditions:
- And:
- Source: CloudProvider
Equals: Confluent
- Source: Service
Equals: Support Cloud Business
#------------------------------------
# Default Logic
#------------------------------------
- Type: GroupBy
Source: LineItemType
Category:
Name: Service Category
Child: Service
Source: Service
DefaultValue: Other
Rules:
#--------------------------------------
# Override Logic
#--------------------------------------
- Type: GroupBy
Source: CZ:Defined:ServiceCategory_Override
#--------------------------------------
# Isolate Service Categories Not Supported
#--------------------------------------
- Type: Group
Name: Service Category Unavailable
Conditions:
- And:
- Not:
- Source: CloudProvider
Transforms:
- Type: Lower
Contains: [aws, azure, databricks, datadog, gcp, github, mongodb, newrelic, oracle cloud, snowflake]
- Not: # AI Vendors
- Source: CloudProvider
Transforms:
- Type: Lower
Contains: [ai21, anthropic, anyscale, arize, baidu, chatgpt, claude, codex, cohere, coreweave, credal, cursor, deepmind, deepsearch, devin ai, eleven labs, fireworks, fireworks.ai, gemini, glean, grok, groq, hugging face, lambda labs, leonardo.ai, litellm, llama, luma, meta, mistral, modal, moonshot ai, open-ai, openai, portkey, perplexity, replicate, runpod, runware, runway, stability, together, xai, z.ai]
#--------------------------------------
# AWS Specific Logic
#--------------------------------------
- Type: Group
Name: Support
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Equals: [OCBPremiumSupport, AWSDeveloperSupport, AWSSupportBusiness]
- Type: Group
Name: Networking # Must come first
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Or:
- Source: UsageFamily
Equals: [Data Transfer, NAT Gateway, VPC Peering]
- Equals: [AmazonCloudFront, AmazonRoute53, AmazonVPC, AWSCloudMap,
AWSDirectConnect, AWSGlobalAccelerator, AWSDataTransfer, AWSELB]
- Equals: AWSCloudWAN # Not explicitly listed by AWS
- Type: Group
Name: Storage # Must come second
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Or:
- And:
- Source: CZ:Defined:ResourceType
Equals: "EC2: service-usage"
- Source: UsageFamily
Contains: Storage
- Source: CZ:Defined:ResourceType
Equals: ["EC2: volume", "EC2: snapshot"]
- Equals: [AmazonEFS, AmazonFSx, AmazonS3, AmazonS3GlacierDeepArchive, AmazonGlacier,
AWSBackup, AWSStorageGateway, AWSElasticDisasterRecovery, AmazonECR, AmazonECRPublic]
- Type: Group
Name: AI and Machine Learning # Must come above compute
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Or:
- Equals: [CodeGuru, comprehend, AmazonBedrock, AmazonDevOpsGuru, AmazonForecast, AmazonKendra, AmazonLex,
AmazonLookoutEquipment, AmazonLookoutMetrics, AmazonLookoutVision, AmazonPersonalize,
AmazonPolly, AmazonQ, AmazonRekognition, AmazonSageMaker, AmazonTextract, transcribe, translate,
AWSDeepComposer, AWSDeepLens, AWSDeepRacer]
- Equals: AmazonML # Not explicitly listed by AWS
- Contains: Bedrock # Using Contains because there are a number of marketplace services that have Bedrock in the name
- And:
- Equals: AmazonEC2
- Source: CZ:Defined:InstanceType
Contains: [c7g, dl, f1, g3, g4, g5, g6, inf, p3, p4, p5, trn, vt]
- Type: Group
Name: Analytics
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Equals: [AmazonAthena, AmazonCloudSearch, ElasticMapReduce, AmazonKinesis, AmazonKinesisFirehose,
AmazonKinesisAnalytics, AmazonMSK, AmazonES, AmazonQuickSight, AmazonRedshift, datapipeline,
AWSGlue, AWSLakeFormation]
- Type: Group
Name: Business Applications
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Or:
- Equals: [AlexaWebInfoService, AmazonChime, AmazonChimeDialin, AmazonChimeFeatures, AmazonChimeVoiceConnector,
AmazonConnect, AmazonPinpoint, AmazonSES, AmazonWorkDocs, AmazonWorkMail]
- Equals: [ContactCenterTelecomm, ContactLensAmazonConnect] # Not explicitly listed by AWS
- Equals: [AmazonAppStream, AmazonWorkSpaces, AmazonWorkSpacesInstances] # AWS Categories this as End User Computing
- Type: Group
Name: Compute
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Or:
- Equals: [AmazonEC2, AmazonECS, AmazonEKS, AmazonLightsail, AWSAppRunner, AWSLambda, VMwareCloudOnAWS]
- Equals: ComputeSavingsPlans # Not explicitly listed by AWS
- Type: Group
Name: Databases
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Equals: [AmazonDocDB, AmazonDynamoDB, AmazonDAX, AmazonElastiCache, AmazonMemoryDB, AmazonNeptune,
AmazonRDS, AmazonRedshift, AmazonTimestream, AWSDatabaseMigrationSvc]
- Type: Group
Name: Developer Tools
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Equals: [AWSCloudShell, AWSCodeArtifact, CodeBuild, AWSCodeCommit, AWSCodePipeline, AWSDeviceFarm, AWSXRay]
- Type: Group
Name: Integration
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Equals: [AppFlow, AWSEvents, AmazonMWAA, AmazonMQ, AmazonSNS, AWSQueueService, AmazonStates]
- Type: Group
Name: Internet of Things
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Contains: IoT
- Type: Group
Name: Management and Governance
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Or:
- Equals: [AmazonCloudWatch, AmazonGrafana, AmazonPrometheus, AWSCloudFormation, AWSCloudTrail, AWSConfig,
OpsWorks, AmazonRegistrar, AWSResilienceHub, AWSServiceCatalog, AWSSystemsManager]
- Equals: [AWSCostExplorer] # AWS Categories this Cloud Financial Management
- Type: Group
Name: Media
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Or:
- Contains: ElementalMedia
- Equals: AmazonKinesisVideo
- Type: Group
Name: Migration
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Equals: [AWSApplicationMigrationSvc, AWSDatabaseMigrationSvc, AWSDataSync, AWSMigrationHubRefactorSpaces, AWSTransfer]
- Type: Group
Name: Security
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Equals: [AmazonCognito, AmazonCognitoSync, AmazonDetective, AmazonGuardDuty, AmazonInspector, AmazonInspectorV2,
AmazonMacie, AmazonSecurityLake, auditmanager, AWSCertificateManager, CloudHSM, AWSDirectoryService,
AWSFMS, awskms, AWSNetworkFirewall, AWSSecretsManager, AWSSecurityHub, AWSShield, awswaf]
- Type: Group
Name: Web
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Equals: [AmazonApiGateway, AmazonLocationService, AmazonPinpoint, AmazonSES, AWSAmplify, AWSAppSync, AWSDeviceFarm]
# Put Marketplace at the end so we can get the AI Services into AI
- Type: Group
Name: Marketplace
Conditions:
- Source: CloudProvider
Equals: AWS Marketplace
#--------------------------------------
# GCP Specific Logic
#--------------------------------------
- Type: Group
Name: Support
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Account
HasValue: False
- Source: Service
Equals: Support
- Type: Group
Name: Invoice # Must come above Marketplace - invoice-level tax lines have no Account
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Invoice
- Type: Group
Name: Marketplace
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Account
HasValue: False
- Source: LineItemType
Equals: Usage
- Not:
- Source: Service
Equals: [Compute Engine, Support]
- Not:
- Source: UsageFamily
BeginsWith: [Commitment - dollar based]
- Type: Group
Name: AI and Machine Learning
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Or:
- Equals: [Vertex AI, Vertex AI Workbench, Vertex Explainable AI, Vertex AI Search]
- Equals: [AutoML, Dialogflow, Media Translation, Natural Language AI, Recommendations AI, Speech-to-Text,
Text-to-Speech, Translation AI, Video AI, Vision AI]
- Equals: [Gemini API] # Google's own billing service name for Gemini model calls
- Equals: [Cloud Speech API, Cloud Text-to-Speech API, Cloud Vision API, Cloud Natural Language,
Cloud Document AI API, Cloud Dialogflow API, Cloud Contact Center AI Platform,
Customer Engagement Suite, Cloud Talent Solution, Retail API, Notebooks,
Vector Search, Duet AI] # Current billing names - the lists above carry the legacy names
- Equals: [AI Infrastructure, Cloud TPUs, Deep Learning VM, Deep Learning VM Image, Deep Learning Containers, TensorFlow Enterprise]
- Equals: [Contact Center AI, Document AI, Intelligent Products, Product Discovery]
- Equals: [Transcribe, Translate]
- Contains: [Claude, Llama, Mistral] # AI Keywords
- Type: Group
Name: Analytics
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Or:
- Equals: [BigQuery, BigQuery BI Engine, BigQuery Reservation API, Looker, Dataproc, Cloud Dataflow, Cloud Pub/Sub, Cloud Data Fusion, Data Catalog, Cloud Composer, Dataprep,
Dataplex, Analytics Hub, Looker Studio, Google Marketing Platform, Cloud Life Sciences, Earth Engine, BigLake,
Elastic Cloud (managed Elasticsearch Service)]
- Equals: [Custom Search]
- Equals: [Managed Service for Apache Kafka, Dataproc Metastore, Pub/Sub Lite, Cloud Healthcare, Earth]
- Type: Group
Name: Compute
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Or:
- Equals: [App Engine, Bare Metal Solution, Batch, Cloud GPUs, Cloud Run, Compute Engine, Migrate to Virtual Machines,
Spot VMs, Recommender, Shielded VMs, Sole-tenant Nodes, SQL Server on Google Cloud, VMware Engine]
- Equals: [Kubernetes Engine, Artifact Registry, Container Registry, Container Security, Deep Learning Containers, # Azure Categories this as Containers
Google Kubernetes Engine (GKE), Knative, Kubernetes applications on Google Cloud Marketplace]
- Equals: [Cloud Functions, Cloud Run Functions, Workflows] # Azure Categories this as Serverless Computing
# Cloud Run Functions is Google's current name for Cloud Functions
- Equals: [VM Manager, Firebase Hosting, Firebase App Hosting]
- Type: Group
Name: Databases
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [AlloyDB, AlloyDB for PostgreSQL, Bare Metal Solution, Cloud Bigtable, Cloud Spanner, Cloud SQL,
Database Migration, Database Migration Service, Cloud Firestore, Firestore, Firebase Realtime Database,
Cloud Memorystore, Cloud Memorystore for Memcached, Cloud Memorystore for Redis, Datastream]
- Type: Group
Name: Developer Tools
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [Artifact Registry, Assured Open Source Software, Cloud Build, Cloud Code, Cloud Scheduler, Cloud SDK,
Cloud Source Repositories, Cloud Tasks, Cloud Workstations, Container Registry, Firebase Crashlytics, Firebase Test Lab,
Google Cloud Deploy, Cloud Deploy, Secure Source Manager, Source Repository,
Gradle App Engine Plugin, Maven App Engine Plugin, Tekton, Tools for Eclipse, Tools for PowerShell]
- Type: Group
Name: Internet of Things
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [Edge TPU, IoT Core]
- Type: Group
Name: Multicloud
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [Anthos, Anthos Policy Controller, Apigee, Apigee API Management, Cloud Run for Anthos,
Migrate to Containers, Google Distributed Cloud, Google Distributed Cloud Edge,
GKE Enterprise / GDC, Fleets]
- Type: Group
Name: Management and Governance
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Or:
- Equals: [Anthos Config Management, Anthos Service Mesh, Carbon Footprint, Cloud APIs, Cloud Console, Cloud Mobile App,
Cloud Shell, Config Connector, Cost Management, Deployment Manager, Service Catalog, Terraform on Google Cloud,
Stackdriver Monitoring, Stackdriver Trace, Google Service Control, Cloud License Manager]
- Equals: Payment Gateway # Azure Categories this as Financial Services
- Equals: [Cloud Debugger, Cloud Logging, Cloud Monitoring, Cloud Profiler, Cloud Trace, Cloud Error Reporting] # Azure Categories this as Operations
- Type: Group
Name: Media
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [Live Stream API, OpenCue, Transcoder API, Video Stitcher API]
- Type: Group
Name: Migration
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [Application migration, BigQuery Data Transfer Service, Cloud Foundation Toolkit, Migrate to Containers,
Migrate to Virtual Machines, Migration Center, Transfer Appliance]
- Type: Group
Name: Networking
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [Networking, Cloud Armor, Cloud CDN, Cloud Domains, Cloud DNS, Cloud IDS, Cloud Load Balancing, Cloud NAT, Hybrid Connectivity,
Media CDN, Network Connectivity Center, Network Intelligence Center, Network Service Tiers, Private Service Connect,
Service Directory, Spectrum Access System (SAS), Traffic Director, Virtual Private Cloud (VPC),
MultiClusterIngress]
- Type: Group
Name: Security
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Or:
- Equals: [Access Transparency, Assured Workloads, Chronicle Security Operations, Chronicle SIEM, Cloud Asset Inventory,
Cloud Data Loss Prevention, Cloud Key Management Service (KMS), Confidential Computing, Cloud Firewall, Risk Protection Program,
Secret Manager, Security Command Center, Shielded VMs, Chronicle SOAR, VirusTotal, VPC Service Controls]
- Equals: [BeyondCorp Enterprise, Certificate Authority Service, Cloud Identity, Identity and Access Management,
Identity-Aware Proxy, Identity Platform, Managed Service for Microsoft Active Directory, Policy Intelligence,
Resource Manager, Titan Security Key, Workforce Identity Federation]
- Equals: [reCAPTCHA Enterprise, Web Risk]
- Equals: [Assured Open Source Software, Software Delivery Shield]
- Equals: [Mandiant Threat Intelligence, Mandiant Attack Surface Management, Mandiant Digital Threat Monitoring,
Mandiant Security Validation, Mandiant Ransomware Defense Validation]
- Equals: [Mandiant Automated Defense, Mandiant Managed Detection and Response, Mandiant Breach Analytics for Chronicle]
- Equals: [Mandiant Incident Response Services, Mandiant Consulting Services, Mandiant Expertise on Demand, Mandiant Academy]
- Equals: [Container Registry Vulnerability Scanning]
- Equals: [Chronicle, Chrome Enterprise Premium, Network Security, Cloud KMS KACLS,
Binary Authorization, Certificate Manager, On-Demand Scanning]
# Contains, not Equals - Palo Alto ships this under several licensing suffixes
# (BYOL and ELA) / (Bundle1) / (Bundle2). These rows carry an Account, so the
# GCP Marketplace rule above does not claim them.
- Contains: [VM-Series Next-Generation Firewall]
- Type: Group
Name: Storage
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [BigQuery Storage API, Storage Transfer Service, Cloud Storage, Cloud Storage for Firebase, Cloud Filestore, Google Workspace Essentials, Local SSD,
Persistent Disk, Google Cloud Backup and DR, Backup and DR Service, Backup for GKE,
NetApp Volumes, Managed Lustre, Storage Insights]
- Type: Group
Name: Web # Matches the AWS block, which puts AmazonLocationService and AmazonApiGateway here
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Or:
- Equals: [Maps API, Maps Static API, Google Maps Tile API, Google Maps Platform - Routes,
Places API, Places API (New), Geocoding API, Geolocation API, Address Validation API,
Distance Matrix API, Directions API, Route Optimization API, Navigation API,
Street View Static API, Time Zone API] # Google Maps Platform
- Equals: [API Gateway]
- Type: Group
Name: Integration # Element already exists in the AWS block
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Equals: [Integration Connectors, Application Integration]
#--------------------------------------
# Azure Specific Logic
#--------------------------------------
- Type: Group
Name: Marketplace
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: Service
Equals: marketplace
# Service Overrides Based On Usage Family
- Type: Group
Name: Analytics
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
Equals: [Azure Synapse Analytics, Logic Apps]
- Type: Group
Name: Integration
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
Equals: Service Bus
- Type: Group
Name: Compute
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
Equals: Virtual Machines
- Type: Group
Name: Networking
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
Equals: [Azure DNS, Bandwidth, Load Balancer, Virtual Network]
- Type: Group
Name: Security
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
BeginsWith: Microsoft Defender
- Type: Group
Name: Storage
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
Equals: Storage
# Service Mapping
- Type: Group
Name: AI and Machine Learning
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.aisearch, microsoft.botservice, microsoft.cognitiveservices, microsoft.contentsafety, microsoft.customvision, microsoft.databricks,
microsoft.documentintelligence, microsoft.face, microsoft.openai, microsoft.immersivereader, microsoft.language, microsoft.machinelearning,
microsoft.machinelearningservices, microsoft.speech, microsoft.syntex, microsoft.translator, microsoft.videoindexer, microsoft.vision]
- Type: Group
Name: Analytics
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.analysisservices, microsoft.datafactory, microsoft.datalakestore, microsoft.digitaltwins,
microsoft.eventhub, microsoft.fabric, microsoft.hdinsight, microsoft.kusto, microsoft.powerbidedicated,
microsoft.purview, microsoft.signalrservice, microsoft.streamanalytics, microsoft.synapse]
- Type: Group
Name: Business Applications
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.saas]
- Type: Group
Name: Compute
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.app, microsoft.avs, microsoft.batch, microsoft.certificateregistration, microsoft.classiccompute, microsoft.compute,
microsoft.containerservice, microsoft.web, microsoft.containerinstance, microsoft.containerregistry]
- Type: Group
Name: Databases
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.cache, microsoft.dbformariadb, microsoft.dbformysql, microsoft.dbforpostgresql,
microsoft.documentdb, microsoft.sql]
- Type: Group
Name: Developer Tools
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [api management, github, marketplace, microsoft.appconfiguration, microsoft.dashboard, microsoft.devcenter,
microsoft.labservices, microsoft.loadtestservice, microsoft.visualstudio]
- Type: Group
Name: Integration
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.appplatform, microsoft.healthcareapis, microsoft.logic, microsoft.maps,
microsoft.relay, microsoft.servicebus]
- Type: Group
Name: Internet of Things
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.devices, microsoft.eventgrid, microsoft.notificationhubs]
- Type: Group
Name: Management and Governance
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.automation, microsoft.insights, microsoft.monitor, microsoft.operationalinsights, microsoft.recoveryservices]
- Type: Group
Name: Networking
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [bastion scale units, microsoft.cdn, microsoft.classicnetwork, microsoft.network, virtual network]
- Type: Group
Name: Security
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.aad, microsoft.azureactivedirectory, microsoft.dataprotection, microsoft.easm,
microsoft.hybridcompute, microsoft.keyvault, microsoft.security]
- Type: Group
Name: Storage
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.classicstorage, microsoft.elasticsan, microsoft.netapp, microsoft.storage]
- Type: Group
Name: Web
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Equals: [microsoft.bing, microsoft.media, microsoft.search]
#--------------------------------------
# Oracle Cloud Specific Logic - Tier 1 Adapter
#--------------------------------------
- Type: Group
Name: Management and Governance
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: Service
Transforms:
- Type: Lower
Equals: [dbmgmt, logging, telemetry]
- Type: Group
Name: Marketplace
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: Service
Transforms:
- Type: Lower
Equals: marketplace
- Type: Group
Name: Networking
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Or:
- Source: UsageFamily
Contains: Data Transfer
- Source: Service
Transforms:
- Type: Lower
Equals: oralb
- Type: Group
Name: Other # Must come as the last override before groupby
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: Operation
Equals: Others
- Type: GroupBy
Source: Operation
Conditions:
- Source: CloudProvider
Equals: Oracle Cloud
#--------------------------------------
# GitHub - Tier 1 Adapter
#--------------------------------------
- Type: Group
Name: AI and Machine Learning
Conditions:
- And:
- Source: CloudProvider
Equals: GitHub
- Equals: [copilot, github_copilot]
- Type: Group
Name: Developer Tools
Conditions:
- Source: CloudProvider
Equals: GitHub
#--------------------------------------
# Confluent Specific Logic - Tier 1 Adapter
#--------------------------------------
- Type: Group
Name: Networking
Conditions:
- And:
- Source: CloudProvider
Equals: Confluent
- Source: UsageFamily
Equals: [Network Read, Network Write, Throughput]
- Type: Group
Name: Storage
Conditions:
- And:
- Source: CloudProvider
Equals: Confluent
- Source: UsageFamily
Equals: Storage
- Type: Group
Name: Analytics
Conditions:
- Source: CloudProvider
Equals: Confluent
#--------------------------------------
# Snowflake
#--------------------------------------
- Type: Group
Name: AI and Machine Learning # Must come above Databases
Conditions:
- And:
- Source: CloudProvider
Transforms:
- Type: Lower
Contains: snowflake
- Or:
- Source: Service
Equals: [Snowflake Cortex, SnowflakeCortex]
- And:
- Source: Service
Equals: [Snowflake Compute, SnowflakeCompute]
- Source: UsageFamily
Equals: [ai_functions, ai_inference, ai_services, cortex_agents, cortex_ai_guardrails, cortex_search,
snowflake_coco_cli, snowflake_coco_desktop, snowflake_coco_snowsight, snowflake_cowork]
- Type: Group
Name: Databases
Conditions:
- Source: CloudProvider
Transforms:
- Type: Lower
Contains: snowflake
#--------------------------------------
# AnyCost Adapter Explicit Mapping
#--------------------------------------
- Type: Group
Name: Databases
Conditions:
- Source: CloudProvider
Transforms:
- Type: Lower
Contains: mongodb
- Type: Group
Name: Management and Governance
Conditions:
- Source: CloudProvider
Transforms:
- Type: Lower
Contains: [newrelic, datadog]
- Type: Group
Name: AI and Machine Learning
Conditions:
- Source: CloudProvider
Transforms:
- Type: Lower
Contains: [ai21, anthropic, anyscale, arize, baidu, chatgpt, claude, codex, cohere, coreweave, credal, cursor, deepmind, deepsearch, devin ai, eleven labs, fireworks, fireworks.ai, gemini, glean, grok, groq, hugging face, lambda labs, leonardo.ai, litellm, llama, luma, meta, mistral, modal, moonshot ai, open-ai, openai, portkey, perplexity, replicate, runpod, runware, runway, stability, together, xai, z.ai]
ServiceCategory_Override: # HIDDEN - To be overriden for custom resource summary logic
Name: Service Category - Override
Hide: True
Rules:
- Type: Group
Name: Override Logic
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: Service
Equals: Override Logic
InstanceType:
Name: Instance Type
Hide: False
DefaultValue: No Instance Type
Rules:
- Type: Group
Name: Instance Type Categorization Unavailable
Conditions:
- Not:
- Source: CloudProvider
Contains: [AWS, Azure, GCP, Oracle Cloud]
#--------------------------------------
# AWS Logic
#--------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: ':'
Index: 2
Conditions:
- Source: UsageFamily
Contains: [Instance, CPU Credits, Dedicated Host]
- And:
- Source: UsageType
Contains: [BoxUsage, SpotUsage, HeavyUsage, NodeUsage]
- Not:
- Source: Service
Equals: AmazonDynamoDB
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Kafka'
Index: 2
Format: 'Kafka.{0}'
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Equals: "MSK: cluster"
- Source: Operation
Equals: RunBroker
#--------------------------------------
# GCP Logic
#--------------------------------------
- Type: GroupBy
Source: Tag:gcp:compute.googleapis.com/machine_spec
Conditions:
- Source: Service
Equals: Compute Engine
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Split
Delimiter: ' running in'
Index: 1
Conditions:
- And:
- Source: Service
Equals: Compute Engine
- Source: UsageFamily
Contains: running in
#--------------------------------------
# Azure Logic
#--------------------------------------
- Type: GroupBy
Source: [UsageType, Operation]
Format: '{0} - {1}'
Conditions:
- And:
- Source: Service
BeginsWith: "microsoft"
- Source: Service
Contains: "sql"
- Source: UsageType
Contains: Compute
- Source: PricingUnit
Equals: 1 Hour
- Type: GroupBy
Source: Operation
Conditions:
- And:
- Source: Service
Equals: "microsoft.compute"
- Source: UsageFamily
Equals: Virtual Machines
- Source: PricingUnit
Equals: 1 Hour
- And:
- Source: Service
Equals: "microsoft.avs"
- Source: UsageFamily
Equals: Specialized Compute
- Source: PricingUnit
Equals: 1 Hour
- And:
- Source: Service
Equals: "microsoft.cache"
- Source: PricingUnit
Equals: 1 Hour
- And:
- Source: Service
Equals: "microsoft.web"
- Source: UsageFamily
Equals: Azure App Service
- Source: PricingUnit
Equals: 1 Hour
#--------------------------------------
# Oracle Cloud Logic
#--------------------------------------
- Type: GroupBy
Source: UsageFamily
Conditions:
- And:
- Source: CloudProvider
Equals: Oracle Cloud
- Source: CZ:Defined:ResourceType
Transforms:
- Type: Lower
Equals: ["compute: instance", "database: cloudexadatainfrastructure", "database: cloudvmcluster"]
PaymentOption: # Needs Improvement - How to identify RI/SP purchases in GCP / Azure
Name: Payment Option
Hide: False
DefaultValue: On-Demand
Rules:
- Type: Group
Name: Payment Option Unavailable
Conditions:
- Not:
- Source: CloudProvider
Contains: [AWS, Azure, Confluent, Datadog, GCP, Oracle Cloud]
#--------------------------------------
# AWS Logic
#--------------------------------------
- Type: Group
Name: Reservation
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CZ:Defined:BillingLineItem # Needs CZ:Defined:BillingLineItem and not regular LineItemType
Equals: [DiscountedUsage, RICoveredUsage, RIFee, RIUpfrontFee]
- Type: Group
Name: Savings Plan
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CZ:Defined:BillingLineItem
Equals: [SavingsPlanCoveredUsage, SavingsPlanNegation, SavingsPlanRecurringFee, SavingsPlanUpfrontFee]
- Type: Group
Name: Spot
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: UsageType
Contains: SpotUsage
- Type: Group
Name: Provisioned
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Or:
- Source: UsageFamily
Contains: [Provisioned, CapacityUnit]
- Source: UsageType
Transforms:
- Type: Lower
Contains: [piops, p-iops]
- And:
- Source: Service
Contains: AmazonBedrock
- Source: PricingUnit
Contains: Instance-hrs
- Type: Group
Name: On-Demand - Instances
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: UsageFamily
Contains: [Instance, CPU Credits]
#--------------------------------------
# Azure Logic
#--------------------------------------
- Type: Group
Name: Reservation
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: CZ:Defined:BillingLineItem # Needs CZ:Defined:BillingLineItem and not regular LineItemType
Equals: [DiscountedUsage, RICoveredUsage]
- Type: Group
Name: Savings Plan
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: CZ:Defined:BillingLineItem
Equals: SavingsPlanCoveredUsage
- Type: Group
Name: Spot
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: Operation
Contains: Spot
- Type: Group
Name: On-Demand - Instances
Conditions:
- And:
- Source: CloudProvider
BeginsWith: Azure
- Source: UsageFamily # Already updated to accomodate Bob's changes
Equals: Virtual Machines
#--------------------------------------
# GCP Logic
#--------------------------------------
- Type: Group
Name: Spot
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: UsageFamily
BeginsWith: Spot
- Type: Group
Name: Savings Plan
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: Tag:gcp_cz:consumption_model
HasValue: True
- Not:
- Source: Tag:gcp_cz:consumption_model
Equals: Default
- Type: Group
Name: Reservation # These are technically "Flexible CUDs"
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: UsageFamily
BeginsWith: Commitment - dollar based
- Type: Group
Name: Reservation
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: UsageFamily
BeginsWith: Commitment
- Type: Group
Name: On-Demand - Instances
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: CZ:Defined:ResourceType
Contains: ": instances"
#--------------------------------------
# Datadog Logic
# Can't support datadog until we can do it without referencing resource
#--------------------------------------
- Type: Group
Name: Committed
Conditions:
- And:
- Source: CloudProvider
BeginsWith: Datadog
- Source: CZ:Defined:Resource_LowCardinality
Contains: -committed
ResourceType:
Name: Resource Type
Hide: False
Rules:
#--------------------------------------
# Non-Usage lineitem types
# Decided to remove this logic on 11/7/2024
#--------------------------------------
#- Type: Group
# Name: Non-Usage Cost
# Conditions:
# - Not:
# - Source: LineItemType
# Equals: [Usage, DiscountedUsage, SavingsPlanCoveredUsage]
#--------------------------------------
# Default Logic
#--------------------------------------
- Type: GroupBy
Source:
- CZ:Defined:ServiceDisplay
- CZ:Defined:ResourceType_Split
Format: '{0}: {1}'
ResourceType_Split: # HIDDEN
Name: Resource Type - Split
Hide: True
DefaultValue: service-usage
Rules:
#--------------------------------------
# Cases where there isn't a valid CZRN
#--------------------------------------
- Type: Group
Name: service-usage
Conditions:
- Source: Resource
Contains: ":unknown:"
- Type: Group
Name: service-usage
Conditions:
- Source: Resource
BeginsWith: "billingitem-"
#--------------------------------------
# Data Transfer
#--------------------------------------
- Type: Group
Name: data-transfer
Conditions:
- Source: UsageFamily
Equals: Data Transfer
- Type: Group
Name: vpc-peering
Conditions:
- Source: UsageFamily
Equals: VPC Peering
#--------------------------------------
# Default Logic
#--------------------------------------
- Type: GroupBy
Source: Resource
Transforms:
- Type: Split
Delimiter: ':'
Index: 6
ServiceDetail:
Name: Service Detail
Hide: False
Rules:
- Type: Group
Name: Service Detail Unavailable
Conditions:
- Not:
- Source: CloudProvider
Contains: [AWS, Azure, Confluent, GCP, Oracle Cloud]
#-------------------------------------
# Non-Usage Elements
#-------------------------------------
- Type: GroupBy
Source: LineItemType
Format: 'Non-Usage: {0}'
Conditions:
- Not:
- Source: LineItemType
Equals: [Usage, DiscountedUsage, SavingsPlanCoveredUsage]
#-------------------------------------
# Service Detail Breakdown
#-------------------------------------
#----AWS-----
- Type: GroupBy
Source:
- UsageFamily
- CZ:Defined:ServiceDetail_Breakdown_AWS
Format: '{0}: {1}'
Conditions:
- Not:
- Source: CZ:Defined:ServiceDetail_Breakdown_AWS
BeginsWith: Admin
#----Azure-----
- Type: GroupBy
Source:
- UsageFamily
- CZ:Defined:ServiceDetail_Breakdown_Azure
Format: '{0}: {1}'
Conditions:
- Not:
- Source: CZ:Defined:ServiceDetail_Breakdown_Azure
BeginsWith: Admin
#----GCP-----
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Trim
Conditions:
- Source: CloudProvider
BeginsWith: GCP
#----Oracle Cloud-----
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Trim
Conditions:
- Source: CloudProvider
BeginsWith: Oracle Cloud
#----Confluent-----
- Type: GroupBy
Source:
- UsageFamily
- Operation
Transforms:
- Type: Trim
Format: '{0}: {1}'
Conditions:
- Source: CloudProvider
BeginsWith: Confluent
ServiceDetail_Breakdown_AWS: # HIDDEN
Name: Service Detail - Breakdown - AWS
Hide: True
Rules:
#-------------------------------------
# ADMIN - EXCLUDE
#-------------------------------------
- Type: Group
Name: Admin - Non-AWS
Conditions:
- Not:
- Source: CloudProvider
BeginsWith: AWS
#-------------------------------------
# Data Transfer
#-------------------------------------
- Type: GroupBy
Source: CZ:Defined:ServiceDetail_DT_InterRegion_AWS
Format: 'InterRegion: {0}'
Conditions:
- Source: CZ:Defined:NetworkingSubCategory
Equals: InterRegion Outbound
- Type: GroupBy
Source: Region
Format: 'IntraRegion: {0}'
Conditions:
- Source: CZ:Defined:NetworkingSubCategory
Equals: IntraRegion - AZ to AZ
- Type: GroupBy
Source: Region
Format: 'Outbound: {0}'
Conditions:
- Source: CZ:Defined:NetworkingSubCategory
Equals: AWS Outbound
- Type: GroupBy
Source: CZ:Defined:NetworkingSubCategory
Format: '{0}'
Conditions:
- Source: UsageFamily
Equals: Data Transfer
#-------------------------------------
# Extended Support
#-------------------------------------
- Type: Group
Name: ExtendedSupport
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: extendedsupport
#-------------------------------------
# AWS CloudFront
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Edge-'
Index: 2
Format: 'Lambda-Edge-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonCloudFront
- Source: UsageFamily
Equals: Serverless
- Type: GroupBy
Source: Operation
Conditions:
- Source: Service
Equals: AmazonCloudFront
#-------------------------------------
# AWS CloudWatch
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'CW:'
Index: 2
Conditions:
- And:
- Source: Service
Equals: AmazonCloudWatch
- Source: UsageFamily
Equals:
- Metric
- Canaries
- Type: GroupBy
Source: Operation
Format: '{0}-S3-Egress-Bytes'
Conditions:
- And:
- Source: Service
Equals: AmazonCloudWatch
- Source: UsageType
Contains: S3-Egress-Bytes
- Type: GroupBy
Source: Operation
Format: '{0}-VendedLog-Bytes'
Conditions:
- And:
- Source: Service
Equals: AmazonCloudWatch
- Source: UsageType
Contains: VendedLog-Bytes
- Type: GroupBy
Source: Operation
Format: '{0}-DataProcessing-Bytes'
Conditions:
- And:
- Source: Service
Equals: AmazonCloudWatch
- Source: UsageType
Contains: DataProcessing-Bytes
- Type: GroupBy
Source: Operation
Format: '{0}-DataScanned-Bytes'
Conditions:
- And:
- Source: Service
Equals: AmazonCloudWatch
- Source: UsageType
Contains: DataScanned-Bytes
#-------------------------------------
# AWS Config
#-------------------------------------
- Type: Group
Name: ConfigurationItemRecorded
Conditions:
- And:
- Source: Service
Equals: AWSConfig
- Source: UsageType
Contains: ConfigurationItemRecorded
#-------------------------------------
# AWS AmazonConnect
#-------------------------------------
- Type: Group
Name: end-customer-mins
Conditions:
- Source: Service
Equals: AmazonConnect
#-------------------------------------
# AWS S3
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: "TimedStorage-"
Index: 2
Format: 'S3: TimedStorage-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonS3
- Source: UsageFamily
Equals:
- Storage
- Usage
- Type: Group
Name: StorageLens
Conditions:
- And:
- Source: Service
Equals: AmazonS3
- Source: UsageType
Contains: "StorageLens"
- Type: Group
Name: StorageAnalytics
Conditions:
- And:
- Source: Service
Equals: AmazonS3
- Source: UsageType
Contains: "StorageAnalytics"
- Type: GroupBy
Source: Operation
Format: 'Request-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonS3
- Source: UsageFamily
Equals: API Request
- Source: UsageType
Contains: "Requests-"
- Type: GroupBy
Source: Operation
Format: 'Retrieval-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonS3
- Source: UsageFamily
Equals: API Request
- Source: UsageType
Contains: "Retrieval-"
#-------------------------------------
# AWS RDS Storage & System Operation
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: '-'
Index: 2
Conditions:
- And:
- Source: Service
Equals: AmazonRDS
- Source: UsageFamily
Equals: [Database Storage, Storage Snapshot, System Operation]
- Type: GroupBy
Source: UsageType
Conditions:
- And:
- Source: Service
Equals: AmazonRDS
- Source: UsageFamily
Equals: [Database Storage, Storage Snapshot, System Operation]
#-------------------------------------
# AWS DB Instances
#-------------------------------------
- Type: Group
Name: MySQL
Conditions:
- Source: Operation
Equals: CreateDBInstance:0002
- Type: Group
Name: SQL Server Web LI
Conditions:
- Source: Operation
Equals: CreateDBInstance:0011
- Type: Group
Name: SQL Server
Conditions:
- Source: Operation
Equals:
- CreateDBInstance:0010
- CreateDBInstance:0012
- CreateDBInstance:0015
- Type: Group
Name: PostgreSQL
Conditions:
- Source: Operation
Equals: CreateDBInstance:0014
- Type: Group
Name: Aurora MYSQL
Conditions:
- Source: Operation
Equals: CreateDBInstance:0016
- Type: Group
Name: MariaDB
Conditions:
- Source: Operation
Equals: CreateDBInstance:0018
- Type: Group
Name: Oracle
Conditions:
- Source: Operation
Equals:
- CreateDBInstance:0005
- CreateDBInstance:0019
- CreateDBInstance:0020
- Type: Group
Name: Aurora PostgreSQL
Conditions:
- Source: Operation
Equals: CreateDBInstance:0021
- Type: Group
Name: Neptune
Conditions:
- Source: Operation
Equals: CreateDBInstance:0022
- Type: Group
Name: DocDB
Conditions:
- Source: Operation
Equals: CreateDBInstance:0023
#-------------------------------------
# AWS Cache Instances
#-------------------------------------
- Type: Group
Name: Memcached
Conditions:
- Source: Operation
Equals: CreateCacheCluster:0001
- Type: Group
Name: Redis
Conditions:
- Source: Operation
Equals: CreateCacheCluster:0002
#-------------------------------------
# AWS DynamoDB IA
#-------------------------------------
- Type: Metadata
Source: UsageType
Conditions:
- Source: Service
Equals: AmazonDynamoDB
Values:
- IA-WriteRequestUnits
- IA-ReadRequestUnits
#-------------------------------------
# AWS Storage
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'piops'
Index: 2
Format: 'Storage-piops{0}'
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: piops
- Type: Group
Name: Storage-GP2
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: gp2
- Type: Group
Name: Storage-GP3
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: gp3
- Type: Group
Name: Storage-IO2
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: io2
- Type: Group
Name: Storage-ST1
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: st1
- Type: Group
Name: Storage-SC1
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: sc1
- Type: Group
Name: Storage-P-IOPS
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: piops
- Type: Group
Name: Storage-Aurora
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: "aurora:storageusage"
- Type: Group
Name: Storage
Conditions:
- Source: UsageType
Transforms:
- Type: Lower
Contains: storageusage
#-------------------------------------
# AWS EC2 Compute - Capacity Reservations
# Must come before EC2 Compute
#-------------------------------------
- Type: Group
Name: CapacityReservation - UnusedBox
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageFamily
Equals: Compute Instance
- Source: UsageType
Contains: UnusedBox
- Type: Group
Name: CapacityReservation - Reservation
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageFamily
Equals: Compute Instance
- Source: UsageType
Contains: Reservation
#-------------------------------------
# AWS EC2 Compute
#-------------------------------------
- Type: Group
Name: 'BoxUsage-Linux'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: [BoxUsage, DedicatedUsage, SpotUsage]
- Or:
- Source: Operation
Equals: RunInstances
- Source: Operation
BeginsWith: ["RunInstances:SV", "RunInstances:0004"]
- Type: Group
Name: 'BoxUsage-Windows'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: [BoxUsage, DedicatedUsage, SpotUsage]
- Source: Operation
Equals: ["RunInstances:0002", "RunInstances:0006", "RunInstances:0102",
"RunInstances:0202", "RunInstances:0800"]
- Type: Group
Name: 'BoxUsage-SUSE'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: [BoxUsage, DedicatedUsage, SpotUsage]
- Source: Operation
Equals: "RunInstances:000g"
- Type: Group
Name: 'BoxUsage-Ubuntu Pro'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: [BoxUsage, DedicatedUsage, SpotUsage]
- Source: Operation
Equals: "RunInstances:0g00"
- Type: Group
Name: 'BoxUsage-RHEL'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: [BoxUsage, DedicatedUsage, SpotUsage]
- Source: Operation
Equals: ["RunInstances:0010", "RunInstances:0014", "RunInstances:0110",
"RunInstances:0210"]
- Type: Group
Name: 'BoxUsage-RHEL with High Availability'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: [BoxUsage, DedicatedUsage, SpotUsage]
- Source: Operation
Equals: ["RunInstances:1010", "RunInstances:1014", "RunInstances:1110"]
- Type: GroupBy
Source: Operation
Format: 'BoxUsage-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: [BoxUsage, DedicatedUsage, SpotUsage]
- Type: GroupBy
Source: Operation
Format: 'EBSOptimized-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: EBSOptimized
- Type: GroupBy
Source: Operation
Format: 'HostBoxUsage-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: UsageType
Contains: HostBoxUsage
#-------------------------------------
# AWS EC2 NATGateway
#-------------------------------------
- Type: GroupBy
Source: CZ:Defined:NetworkingSubCategory
Conditions:
- Source: UsageFamily
Equals: NAT Gateway
#-------------------------------------
# AWS ECS Compute
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Fargate-'
Index: 2
Format: 'Fargate-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonECS
- Source: UsageType
Contains: Fargate-
#-------------------------------------
# AWS EKS Compute
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'AmazonEKS-'
Index: 2
Conditions:
- And:
- Source: Service
Equals: AmazonEKS
- Source: UsageType
Contains: AmazonEKS-
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Fargate-'
Index: 2
Format: 'Fargate-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonEKS
- Source: UsageType
Contains: Fargate-
#-------------------------------------
# AWS EMR
#-------------------------------------
- Type: Group
Name: EMR-Serverless - StorageGBHours
Conditions:
- And:
- Source: Service
Equals: ElasticMapReduce
- Source: UsageType
Contains: EMR-SERVERLESS-StorageGBHours
- Type: Group
Name: EMR-Serverless - vCPUHours
Conditions:
- And:
- Source: Service
Equals: ElasticMapReduce
- Source: UsageType
Contains: EMR-SERVERLESS-vCPUHours
- Type: Group
Name: EMR-Serverless - MemoryGBHours
Conditions:
- And:
- Source: Service
Equals: ElasticMapReduce
- Source: UsageType
Contains: EMR-SERVERLESS-MemoryGBHours
#-------------------------------------
# AWS Grafana
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Grafana:'
Index: 2
Conditions:
- Source: Service
Equals: AmazonGrafana
#-------------------------------------
# AWS GuardDuty
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Paid'
Index: 2
Format: 'Paid{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonGuardDuty
- Source: UsageType
Contains: Paid
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Free'
Index: 2
Format: 'Free{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonGuardDuty
- Source: UsageType
Contains: Free
#-------------------------------------
# AWS Kinesis Analytics
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'KPU-'
Index: 2
Format: 'KPU-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonKinesisAnalytics
- Source: UsageType
Contains: KPU-
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Running'
Index: 2
Format: 'Running{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonKinesisAnalytics
- Source: UsageType
Contains: Running
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Durable'
Index: 2
Format: 'Durable{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonKinesisAnalytics
- Source: UsageType
Contains: Durable
#-------------------------------------
# AWS MemoryDB
#-------------------------------------
- Type: Group
Name: NodeUsage
Conditions:
- And:
- Source: Service
Equals: AmazonMemoryDB
- Source: UsageType
Contains: NodeUsage
#-------------------------------------
# AWS MQ
#-------------------------------------
- Type: Group
Name: Single-AZ
Conditions:
- And:
- Source: Service
Equals: AmazonMemoryDB
- Source: UsageFamily
Equals:
- Broker Instances
- EdpDiscount
- Source: UsageType
Contains: Single-AZ
- Type: Group
Name: Multi-AZ
Conditions:
- And:
- Source: Service
Equals: AmazonMemoryDB
- Source: UsageFamily
Equals:
- Broker Instances
- EdpDiscount
- Source: UsageType
Contains: Multi-AZ
- Type: Group
Name: RabbitMQ-3
Conditions:
- And:
- Source: Service
Equals: AmazonMemoryDB
- Source: UsageFamily
Equals:
- Broker Instances
- EdpDiscount
- Source: UsageType
Contains: RabbitMQ-3
- Type: Group
Name: RabbitMQ-Single
Conditions:
- And:
- Source: Service
Equals: AmazonMemoryDB
- Source: UsageFamily
Equals:
- Broker Instances
- EdpDiscount
- Source: UsageType
Contains: RabbitMQ-Single
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'TimedStorage-'
Index: 2
Format: 'TimedStorage-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonMQ
- Source: UsageFamily
Equals:
- Broker Storage
- Storage
#-------------------------------------
# AWS MWAA
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Airflow-'
Index: 2
Format: 'Airflow-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonMWAA
- Source: UsageType
Contains: Airflow-
#-------------------------------------
# AWS Pinpoint
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Phone'
Index: 2
Format: 'Phone-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonPinpoint
- Source: UsageType
Contains: Phone
- Type: Group
Name: SMS-Standard-Tollfree-MessageFees
Conditions:
- And:
- Source: Service
Equals: AmazonPinpoint
- Source: UsageType
Contains: SMS
- Source: UsageType
Contains: Standard-Tollfree-MessageFees
- Type: Group
Name: SMS-Standard-Tollfree-CarrierFees
Conditions:
- And:
- Source: Service
Equals: AmazonPinpoint
- Source: UsageType
Contains: SMS
- Source: UsageType
Contains: Standard-Tollfree-CarrierFees
- Type: Group
Name: SMS-Standard-Sharedroute-MessageFees
Conditions:
- And:
- Source: Service
Equals: AmazonPinpoint
- Source: UsageType
Contains: SMS
- Source: UsageType
Contains: Standard-Sharedroute-MessageFees
- Type: Group
Name: SMS-Standard-Sharedroute-CarrierFees
Conditions:
- And:
- Source: Service
Equals: AmazonPinpoint
- Source: UsageType
Contains: SMS
- Source: UsageType
Contains: Standard-Sharedroute-CarrierFees
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Deliverability-'
Index: 2
Format: 'Deliverability-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonPinpoint
- Source: UsageType
Contains: Deliverability-
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Domain-'
Index: 2
Format: 'Domain-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonPinpoint
- Source: UsageType
Contains: Domain-
#-------------------------------------
# AWS SageMaker
#-------------------------------------
- Type: Metadata
Source: UsageType
Conditions:
- Source: Service
Equals: AmazonSageMaker
Values:
- Host
- Notebk
- Processing
- Studio-DW
- Studio-KernelGateway
- Train
- Trspt
- Tsform
#-------------------------------------
# AWS SES
#-------------------------------------
- Type: Group
Name: Message
Conditions:
- And:
- Source: Service
Equals: AmazonSES
- Source: UsageFamily
Equals: Receiving Email
- Source: UsageType
Contains: Message
- Type: Group
Name: ReceivedChunk
Conditions:
- And:
- Source: Service
Equals: AmazonSES
- Source: UsageFamily
Equals: Receiving Email
- Source: UsageType
Contains: ReceivedChunk
#-------------------------------------
# AWS SNS
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'DeliveryAttempts-'
Index: 2
Format: 'DeliveryAttempts-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonSNS
- Source: UsageType
Contains: DeliveryAttempts-
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'SMS-'
Index: 2
Format: 'SMS-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonSNS
- Source: UsageType
Contains: SMS-
#-------------------------------------
# AWS SWF
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Initiated'
Index: 2
Format: 'Initiated{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonSWF
- Source: UsageType
Contains: Initiated
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Closed'
Index: 2
Format: 'Closed{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonSWF
- Source: UsageType
Contains: Closed
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Open'
Index: 2
Format: 'Open{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonSWF
- Source: UsageType
Contains: Open
#-------------------------------------
# AWS VPC
#-------------------------------------
- Type: Group
Name: TransitGateway-Bytes
Conditions:
- And:
- Source: Service
Equals: AmazonVPC
- Source: UsageType
Contains: TransitGateway-Bytes
- Type: Group
Name: TransitGateway-Hours
Conditions:
- And:
- Source: Service
Equals: AmazonVPC
- Source: UsageType
Contains: TransitGateway-Hours
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: '-'
Index: 2
Conditions:
- And:
- Source: Service
Equals: AmazonVPC
- Source: UsageFamily
Equals: Usage
#-------------------------------------
# AWS WorkDocs
#-------------------------------------
- Type: Metadata
Source: UsageType
Conditions:
- Source: Service
Equals: AmazonWorkDocs
Values:
- ListAPICalls
- ReadAPICalls
- WriteAPICalls
- InclStorageByteHrs
- WSOnly-UserHrs
- WSUpgraded-UserHrs
- UserHrs
#-------------------------------------
# AWS Workspaces
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'HW-'
Index: 2
Format: 'HW-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonWorkSpaces
- Source: UsageType
Contains: HW-
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'HWL-'
Index: 2
Format: 'HWL-{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonWorkSpaces
- Source: UsageType
Contains: HWL-
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'SW'
Index: 2
Format: 'SW{0}'
Conditions:
- And:
- Source: Service
Equals: AmazonWorkSpaces
- Source: UsageType
Contains: SW
#-------------------------------------
# AWS CloudFormation
#-------------------------------------
- Type: Metadata
Source: UsageType
Conditions:
- Source: Service
Equals: AWSCloudTrail
Values:
- DataEventsRecorded
- FreeEventsRecorded
- FreeTrialIngestion-Bytes
- FreeTrialQueryScanned-Bytes
- Ingestion-Bytes
- InsightsEvents
- PaidEventsRecorded
- QueryScanned-Bytes
#-------------------------------------
# AWS DirectConnect
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'HCPortUsage'
Index: 2
Format: 'HCPortUsage{0}'
Conditions:
- And:
- Source: Service
Equals: AWSDirectConnect
- Source: UsageType
Contains: HCPortUsage
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'PortUsage'
Index: 2
Format: 'PortUsage{0}'
Conditions:
- And:
- Source: Service
Equals: AWSDirectConnect
- Source: UsageType
Contains: PortUsage
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Site'
Index: 2
Format: 'Site{0}'
Conditions:
- And:
- Source: Service
Equals: AWSDirectConnect
- Source: UsageType
Contains: Site
#-------------------------------------
# AWS SecurityHub
#-------------------------------------
- Type: Metadata
Source: UsageType
Conditions:
- Source: Service
Equals: AWSSecurityHub
Values:
- ComplianceCheck
- PaidFindingsIngestion
#-------------------------------------
# AWS UsageType - Delimiter '-' - 2nd Half
#-------------------------------------
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: '-'
Index: 2
Conditions:
- Source: Service
Equals:
- AmazonApiGateway
- AmazonAppStream
- AmazonAthena
- AmazonDevOpsGuru
- AmazonForecast
- AmazonFSx
- AmazonMacie
- AmazonMemoryDB
- AmazonPinpoint
- AmazonTextract
- AmazonTimestream
- AWSBackup
- AWSConfig
- Source: UsageFamily
Equals:
- Amazon DynamoDB PayPerRequest Throughput
- Provisioned IOPS
- Storage Snapshot
#-------------------------------------
# Fallback - Usage Operation
#-------------------------------------
- Type: GroupBy
Source: Operation
ServiceDetail_DT_InterRegion_AWS: # HIDDEN
Name: Service Detail - InterRegion Data Transfer
Hide: True
Rules:
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: '-AWS-Out-Bytes'
Index: 1
Conditions:
- And:
- Source: UsageType
Contains: -AWS-Out-Bytes
- Source: UsageFamily
Equals: Data Transfer
ServiceDetail_Breakdown_Azure: # HIDDEN
Name: Service Detail - Breakdown - Azure
Hide: True
Rules:
#-------------------------------------
# ADMIN - EXCLUDE
#-------------------------------------
- Type: Group
Name: Admin - Non-Azure
Conditions:
- Not:
- Source: CloudProvider
BeginsWith: Azure
#-------------------------------------
# Azure Microsoft.Cache
#-------------------------------------
- Type: GroupBy
Source: UsageType # Already changed to accomodate Bob's remapping
Conditions:
- Source: Service
Equals: "microsoft.cache"
#-------------------------------------
# Fallback - Usage Operation
#-------------------------------------
- Type: GroupBy
Source: Operation
TaggableVsUntaggable: # Needs Improvement - How to identify taggable in Azure
Name: Taggable vs. Untaggable
Hide: False
Child: Service
Source: CZ:Defined:ResourceType
DefaultValue: Taggable
Rules:
- Type: Group
Name: Tagging Categorization Unavailable
Conditions:
- Not:
- Source: CloudProvider
Contains: [AWS, GCP, Snowflake]
#---------------------------------------
# Non-Usage Based Costs
#---------------------------------------
- Type: Group
Name: Untaggable - Non-Usage
Conditions:
- Not:
- Source: LineItemType
Equals: [Usage, DiscountedUsage, SavingsPlanCoveredUsage]
#---------------------------------------
# Snowflake - Everything is taggable
#---------------------------------------
#---------------------------------------
# AWS Logic For What is Untaggable
#---------------------------------------
- Type: Group
Name: Untaggable - Entire Service
Conditions:
- Source: Service
Equals:
- AmazonChime
# - AmazonCloudSearch --- Can tag as of 11/17/22
- AmazonDetective
- AmazonInspector
- AmazonPinpoint
- AmazonQLDB
- AmazonSES
- AmazonSimpleDB
- AmazonWorkDocs
- AmazonWorkMail
- AppFlow
- AWSAmplify
- AWSBudgets
- AWSCloudShell
- AWSCostExplorer
- AWSElementalMediaStore
- AWSEvents
- AmazonGuardDuty
- AWSSecurityHub
- AWSServiceCatalog
- AWSSystemsManager
- AWSSupportEnterprise
- ContactCenterTelecomm
- OpsWorks
- translate
- AmazonPinpoint
- Type: Group
Name: Untaggable - Service Charges
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Contains: service-usage
- Source: LineItemType
Contains: Usage
- Equals:
- "ApiGateway: account"
- "AppSync: DataSource"
- "AppSync: GraphQLApi"
- "CloudWAN: core-network"
- "CloudWatch: dashboard"
- "CodeDeploy: application"
- "CodeDeploy: deploymentconfig"
- "CodePipeline: customactiontype"
- "DataExchange: revision"
- "DirectConnect: transit-gateway"
- "DMS: certificate"
- "DMS: endpoint"
- "DMS: eventsubscription"
- "DMS: replicationinstance"
- "DMS: replicationsubnetgroup"
- "DMS: replicationtask"
- "ElasticBeanstalk: applicationversion"
- "ElasticBeanstalk: configurationtemplate"
- "ElasticBeanstalk: environment"
- "DynamoDB: backup"
- "EC2: capacityreservation"
- "EC2: host"
- "EC2: launchtemplate"
- "EC2: transitgateway"
- "EC2: transitgatewayroutetable"
- "EC2: vpcpeeringconnection"
- "ECR: jobrun"
- "ECS: containerinstance"
- "ECS: service"
- "FraudDetector: detectorversion"
- "FraudDetector: modelversion"
- "FraudDetector: rule"
- "Glue: database"
- "IAM: role"
- "IAM: virtualmfadevice"
- "IAM: assessmenttemplate"
- "IoT: topicrule"
- "IoTAnalytics: channel"
- "IoTAnalytics: datastore"
- "IoTAnalytics: pipeline"
- "Kinesis: stream-consumer"
- "KinesisAnalyticsV2: application"
- "KinesisFirehose: deliverystream"
- "KMS: alias"
- "Lambda: alias"
- "Lambda: eventsourcemapping"
- "Lambda: layerversion"
- "Lambda: version"
- "Neptune: cluster-backup"
- "Neptune: cluster-snapshot"
- "Organizations: organizationalunit"
- "Organizations: policy"
- "QLDB: stream"
- "RDS: cluster-backup"
- "Redshift: clustersecuritygroup"
- "Route53: bound-network-interface"
- "S3: storage-lens"
- "SageMaker: endpointconfig"
- "SageMaker: hyperparametertuningjob"
- "SageMaker: labelingjob"
- "SageMaker: model"
- "SageMaker: pipeline"
- "SageMaker: trainingjob"
- "SageMaker: transformjob"
- "SageMaker: workteam"
- "SageMaker: trainingjob"
- "ServiceCatalog: cloudformationproduct"
- "ServiceCatalog: portfolio"
- "ServiceQuotas: quota"
- "Shield: root"
- "SSM: document"
- "SSM: maintenancewindow"
- "SSM: managedinstance"
- "SSM: patchbaseline"
- "StorageGateway: volume"
- "VPC: network-insights-analysis"
#---------------------------------------
# GCP Logic For What is Untaggable
#---------------------------------------
- Type: Group
Name: Untaggable - Entire Service
Conditions:
- Source: Service
Equals:
- BigQuery Reservation API
- BigQuery Storage API
- Geocoding API
- Cloud Logging
- Cloud DNS
- Custom Search
- Support
- Transcoder API
- Translate
- Type: Group
Name: Untaggable - Service Charges
Conditions:
- And:
- Source: Service
Equals: Compute Engine
- Source: UsageFamily
BeginsWith: "Network Load Balancing: Forwarding Rule"
- And:
- Source: Service
Equals: BigQuery
- Source: UsageFamily
Equals: Analysis
- And:
- Source: Service
Equals: Networking
- Source: UsageFamily
BeginsWith: [Networking Cloud CDN Traffic Cache Egress, Networking Cloud Nat]
ResourceSummaryID:
Name: Resource Summary
Source: Resource
Rules:
#--------------------------------------
# Override Logic
#--------------------------------------
- Type: GroupBy
Source: CZ:Defined:ResourceSummaryID_Override
#-------------------------
# Billing Line Item Logic
#-------------------------
- Type: GroupBy
Source: [CZ:Defined:BillingLineItem, Description]
Format: '{0} - {1}'
Conditions:
- Source: CZ:Defined:BillingLineItem
Equals: [Credit, Refund, Fee]
- Type: GroupBy
Source: CZ:Defined:CommittedUseSubscription_Display
Format: 'Subscription - {0}'
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CZ:Defined:BillingLineItem
Equals: [SavingsPlanRecurringFee, SavingsPlanUpfrontFee, RIFee, RIUpfrontFee]
- Type: GroupBy
Source: CZ:Defined:BillingLineItem
Conditions:
- Not:
- Source: CZ:Defined:BillingLineItem
Contains: Usage
#-------------------------
# AWS - EC2 Logic
#-------------------------
- Type: Group
Name: ip-instances
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: Tag:Name
BeginsWith: ip-
- Type: GroupBy
Source: Tag:Name
Transforms:
- Type: Split
Delimiter: '-dynamic-pvc'
Index: 1
Format: '{0}-dynamic-pvc'
Conditions:
- And:
- Source: Service
Equals: AmazonEC2
- Source: Tag:Name
Contains: -dynamic-pvc
- Type: GroupBy
Source: Tag:aws:elasticmapreduce:job-flow-id
Conditions:
- Source: Service
Equals: AmazonEC2
- Type: GroupBy
Source: Tag:Name
Conditions:
- Source: Service
Equals: AmazonEC2
- Type: GroupBy
Source: Tag:aws:eks:cluster-name
Conditions:
- Source: Service
Equals: AmazonEC2
- Type: GroupBy
Source: Resource
Format: 'ec2-{0}s'
Transforms:
- Type: Split
Delimiter: ':'
Index: 6
Conditions:
- Source: CZ:Defined:ResourceType
Equals: ["EC2: data-transfer", "EC2: dedicated-host", "EC2: instance", "EC2: volume", "EC2: snapshot"]
#-------------------------
# Other Services To Group By Name
#-------------------------
- Type: GroupBy
Source: Tag:Name
Conditions:
- Source: Service
Equals: [AmazonCloudFront, AmazonVPC, AWSCertificateManager, AWSDirectConnect]
#-------------------------
# AWS - fallback instance aggregation
#-------------------------
- Type: Group
Name: cloudwatch-instances
Conditions:
- Source: CZ:Defined:ResourceType
Equals: "CloudWatch: instance"
- Type: Group
Name: inspector-v2-instances
Conditions:
- Source: CZ:Defined:ResourceType
Equals: "InspectorV2: instance"
- Type: Group
Name: directconnect-instances
Conditions:
- And:
- Source: Service
Equals: AWSDirectConnect
- Source: Resource
Contains: ":instance:"
#-------------------------
# AWS - Edge Cases For Aggregation
#-------------------------
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|'
Index: 1
Conditions:
- Source: Service
Equals: AmazonECS
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|'
Index: 1
Conditions:
- Source: CZ:Defined:ResourceType
Equals: "DynamoDB: backup"
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '/contact'
Index: 1
Format: '{0}/contact'
Conditions:
- And:
- Source: Resource
Contains: ':connect:'
- Source: CZ:Defined:ResourceDisplay
Contains: /contact
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '/agent'
Index: 1
Format: '{0}/agent'
Conditions:
- And:
- Source: Resource
Contains: ':connect:'
- Source: CZ:Defined:ResourceDisplay
Contains: /agent
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '/'
Index: 1
Conditions:
- Source: Resource
Contains: ':connect:'
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '.'
Index: 1
Conditions:
- Source: Service
Equals: transcribe
- Type: Group
Name: cloudformation-stacks
Conditions:
- Source: Service
Equals: AWSCloudFormation
- Type: Group
Name: system-manager-interfaces
Conditions:
- Source: Service
Equals: AWSSystemsManager
- Type: Group
Name: kms-keys
Conditions:
- Source: Service
Equals: awskms
- Type: Group
Name: backup-recovery-points
Conditions:
- Source: CZ:Defined:ResourceType
Equals: 'Backup: recovery-point'
- Type: Group
Name: sagemaker-training-jobs
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Contains: ':training-job:'
- Type: Group
Name: sagemaker-transform-jobs
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Contains: ':transform-job:'
- Type: Group
Name: transcription-jobs
Conditions:
- Source: CZ:Defined:ResourceType
Equals: 'transcribe: transcription-job'
- Type: Group
Name: vpc-endpoints
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Contains: ':vpc-endpoint:'
- Type: Group
Name: vpc-network-interfaces
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Contains: ':network-interface:'
- Type: Group
Name: webacls
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Contains: 'webacl/FMManagedWebACL'
- Type: Group
Name: elb-classic-load-balancers
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Contains: ':classic-load-balancer:'
- Type: Group
Name: cloudwatch-sagemaker-endpoints
Conditions:
- And:
- Source: CloudProvider
BeginsWith: AWS
- Contains: ':log-group:/aws/sagemaker/Endpoints/'
#-------------------------
# AWS - Service Usage
#-------------------------
- Type: GroupBy
Source: CZ:Defined:ServiceDisplay
Format: '{0}: service-usage'
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CZ:Defined:ResourceType
Contains: service-usage
#-------------------------
# Azure
#-------------------------
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|virtualmachine'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Equals: "microsoft.compute: virtualmachinescalesets"
- Source: CZ:Defined:ResourceDisplay
Contains: "|virtualmachine"
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|database'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Equals: "microsoft.sql: servers"
- Source: CZ:Defined:ResourceDisplay
Contains: "|database"
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|pipelines'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Equals: "microsoft.datafactory: factories"
- Source: CZ:Defined:ResourceDisplay
Contains: "|pipelines"
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|sqlpool'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Equals: "microsoft.synapse: workspaces"
- Source: CZ:Defined:ResourceDisplay
Contains: "|sqlpool"
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|blobservices'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Equals: "microsoft.storage: storageaccounts"
- Source: CZ:Defined:ResourceDisplay
Contains: "|blobservices"
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|fileservices'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Equals: "microsoft.storage: storageaccounts"
- Source: CZ:Defined:ResourceDisplay
Contains: "|fileservices"
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '|'
Index: 1
Conditions:
- And:
- Source: CloudProvider
BeginsWith: Azure
- Source: CZ:Defined:ResourceDisplay
Contains: "|"
#-------------------------
# GCP
#-------------------------
- Type: Group
Name: 'bigquery-jobs'
Conditions:
- Source: CZ:Defined:ResourceType
Equals: "BigQuery: job"
- Type: Group
Name: 'bigquery-dataset-scripts'
Conditions:
- And:
- Source: CZ:Defined:ResourceType
Equals: "BigQuery: datasets"
- Source: CZ:Defined:ResourceDisplay
BeginsWith: "_script"
- Type: Group
Name: 'bigquery-reservation-api-jobs'
Conditions:
- Source: CZ:Defined:ResourceType
Equals: "BigQuery Reservation API: job"
#-------------------------
# GCP - Instances with NULL account
#-------------------------
- Type: GroupBy
Source: UsageFamily
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: Account
HasValue: False
#-------------------------
# GCP - Compute Engine (mainly useful for instances and disk)
#-------------------------
- Type: GroupBy
Source:
- Tag:gcp_cz:resource_name
- Tag:goog-k8s-cluster-name
- Tag:name
CoalesceSources: True
Conditions:
- And:
- Source: CloudProvider
BeginsWith: GCP
- Source: Service
Equals: [Compute Engine, Cloud Dataflow]
#-------------------------
# Databricks
#-------------------------
- Type: GroupBy
Source: Tag:dbx_cz:job_name
Conditions:
- And:
- Source: CloudProvider
BeginsWith: Databricks
- Source: CZ:Defined:ResourceType
Contains: ": job"
#-------------------------
# Confluent - Tier 1 Adapter
#-------------------------
- Type: GroupBy
Source: "Tag:confluent_cz:resource_display_name"
Conditions:
- Source: CloudProvider
Equals: Confluent
#-------------------------
# BillingItem - "Bad" CZRNs
#-------------------------
- Type: Group
Name: kafka_network_read
Conditions:
- And:
- Source: CZ:Defined:ResourceDisplay
BeginsWith: billingitem-Usage
- Source: CZ:Defined:ResourceDisplay
Contains: KAFKA_NETWORK_READ
- Type: Group
Name: kafka_network_write
Conditions:
- And:
- Source: CZ:Defined:ResourceDisplay
BeginsWith: billingitem-Usage
- Source: CZ:Defined:ResourceDisplay
Contains: KAFKA_NETWORK_WRITE
- Type: Group
Name: kafka_num_ckus
Conditions:
- And:
- Source: CZ:Defined:ResourceDisplay
BeginsWith: billingitem-Usage
- Source: CZ:Defined:ResourceDisplay
Contains: KAFKA_NUM_CKUS
- Type: Group
Name: kafka_storage
Conditions:
- And:
- Source: CZ:Defined:ResourceDisplay
BeginsWith: billingitem-Usage
- Source: CZ:Defined:ResourceDisplay
Contains: KAFKA_STORAGE
- Type: Group
Name: kafka
Conditions:
- And:
- Source: CZ:Defined:ResourceDisplay
BeginsWith: billingitem-Usage
- Source: CZ:Defined:ResourceDisplay
Contains: -Kafka-
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: 'arn:'
Index: 2
Maxsplit: 2
- Type: Split
Delimiter: ':'
Index: 5
Conditions:
- Source: CZ:Defined:ResourceDisplay
Contains: "arn:"
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
Transforms:
- Type: Split
Delimiter: '-'
Index: 5
Maxsplit: 5
Conditions:
- Source: CZ:Defined:ResourceDisplay
BeginsWith: billingitem-Usage
#-------------------------
# Default Logic - Show CZRN
#-------------------------
- Type: GroupBy
Source: Resource
ResourceSummaryID_Override: # HIDDEN - To be overriden for custom resource summary logic
Name: Resource Summary - Override
Hide: True
Rules:
- Type: Group
Name: Override Logic
Conditions:
- Source: CloudProvider
Equals: Override99
# GenAI Dimensions
GenAI_Platform:
Name: GenAI Platform
Child: CZ:Defined:GenAI_Model_Family
Source: CloudProvider
Transforms:
- Type: Lower
Rules:
#--------------------------------------
# Override Logic
#--------------------------------------
- Type: GroupBy
Source: CZ:Defined:GenAI_Platform_Override
#----------------------------------
# AWS Logic & Cursor
#----------------------------------
- Type: Group
Name: AI21 Labs
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Source: [Service, UsageType]
Transforms:
- Type: Lower
Contains: [jamba, jurassic]
- Type: Group
Name: Alibaba
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Source: [Service, UsageType]
Transforms:
- Type: Lower
Contains: [alibaba, qwen]
- Type: Group
Name: Amazon
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Source: [Service, UsageType]
Transforms:
- Type: Lower
Contains: [nova, titan]
- Type: Group
Name: Anthropic
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: [claude, anthropic]
- Type: Group
Name: Cohere
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: cohere
- Type: Group
Name: DeepSeek
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: deepseek
- Type: Group
Name: Google
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: gemini
- Type: Group
Name: Luma
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: luma
- Type: Group
Name: Meta
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: llama
- Type: Group
Name: Moonshot AI
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: [kimi, moonshot]
- Type: Group
Name: Mistral
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: mistral
- Type: Group
Name: OpenAI
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: gpt
- Type: Group
Name: Stability AI
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
BeginsWith: [stable, sdxl]
- Type: Group
Name: Writer
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: palmyra
- Type: Group
Name: xAI
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: grok
- Type: Group
Name: Z.ai
Conditions:
- And:
- Or:
- And:
- Equals: aws marketplace
- Source: Service
Contains: Bedrock
- And:
- Equals: aws
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
- Equals: cursor
- Source: [Service, UsageFamily, UsageType]
Transforms:
- Type: Lower
Contains: [glm, zai]
- Type: Group
Name: Bedrock
Conditions:
- Source: Service
Equals: [AmazonBedrock, AmazonBedrockService]
#----------------------------------
# Github Copilot
#----------------------------------
- Type: Group
Name: Github
Conditions:
- And:
- Equals: github
- Source: Service
Equals: [copilot, github_copilot]
#----------------------------------
# GCP Logic
#----------------------------------
- Type: Group
Name: Google # Formerly Vertex AI
Conditions:
- And:
- Contains: gcp
- Source: Service
Equals: Vertex AI
- Source: PricingUnit
Equals: [count, month]
- Type: Group
Name: Google # Formerly Gemini API
Conditions:
- And:
- Contains: gcp
- Source: Service
Equals: Gemini API
- Source: PricingUnit
Equals: count
- Type: Group
Name: Anthropic
Conditions:
- And:
- Contains: gcp
- Source: Service
Contains: Claude
- Source: PricingUnit
Equals: count
- Type: Group
Name: Meta
Conditions:
- And:
- Contains: gcp
- Source: Service
Contains: Llama
- Source: PricingUnit
Equals: count
- Type: Group
Name: Mistral
Conditions:
- And:
- Contains: gcp
- Source: Service
Contains: Mistral
- Source: PricingUnit
Equals: count
#----------------------------------
# Azure Logic
#----------------------------------
- Type: Group
Name: Anthropic
Conditions:
- And:
- Contains: azure
- Source: Service
Equals: [microsoft.saas, microsoft.cognitiveservices]
- Source: UsageType
Contains: Claude
- Type: Group
Name: OpenAI
Conditions:
- And:
- Contains: azure
- Source: Service
Equals: microsoft.openai
- And:
- Contains: azure
- Source: Service
Equals: [microsoft.saas, microsoft.cognitiveservices]
- Source: UsageType
Contains: OpenAI
- Type: Group
Name: xAI
Conditions:
- And:
- Contains: azure
- Source: Service
Equals: [microsoft.saas, microsoft.cognitiveservices]
- Source: UsageType
Contains: Grok
#----------------------------------
# Snowflake Logic
#----------------------------------
- Type: Group
Name: Anthropic
Conditions:
- And:
- Equals: snowflake
- Source: Service
Equals: [Snowflake Cortex, SnowflakeCortex]
- Source: Tag:model_name
Transforms:
- Type: Lower
Contains: claude
- Type: Group
Name: OpenAI
Conditions:
- And:
- Equals: snowflake
- Source: Service
Equals: [Snowflake Cortex, SnowflakeCortex]
- Source: Tag:model_name
Transforms:
- Type: Lower
Contains: gpt
- Type: Group
Name: Snowflake
Conditions:
- And:
- Equals: snowflake
- Source: Service
Equals: [Snowflake Cortex, SnowflakeCortex]
- And:
- Equals: snowflake
- Source: Service
Equals: [Snowflake Compute, SnowflakeCompute]
- Source: UsageFamily
Equals: [ai_functions, ai_inference, ai_services, cortex_agents, cortex_ai_guardrails, cortex_search,
snowflake_coco_cli, snowflake_coco_desktop, snowflake_coco_snowsight, snowflake_cowork]
#----------------------------------
# Other Logic
#----------------------------------
- Type: Group
Name: Cursor
Conditions:
- Contains: cursor
- Type: Group
Name: OpenAI # Need this because there are multiple versions of the OpenAI adapter
Conditions:
- Contains: [openai, open-ai, chatgpt]
- Type: Group
Name: Anthropic
Conditions:
- Contains: [anthropic, claude]
- Type: Group
Name: Z.ai
Conditions:
- Contains: [zai, z.ai]
- Type: GroupBy
Source: CloudProvider
Conditions:
- Source: CloudProvider
Transforms:
- Type: Lower
Equals: [ai21, anthropic, anyscale, arize, baidu, chatgpt, claude, codex, cohere, coreweave, credal, cursor, deepmind, deepsearch, devin ai, eleven labs, fireworks, fireworks.ai, gemini, glean, grok, groq, hugging face, lambda labs, leonardo.ai, litellm, llama, luma, meta, mistral, modal, moonshot ai, open-ai, openai, portkey, perplexity, replicate, runpod, runware, runway, stability, together, xai, z.ai]
GenAI_TokenType:
Name: GenAI Token Type
Source:
- UsageFamily
- UsageType
- Operation
- CZ:Defined:Resource_LowCardinality
Transforms:
- Type: Lower
Rules:
#------------------------------------------------
# Cursor - Not Supported
#------------------------------------------------
- Type: Group
Name: Other
Conditions:
- Source: CloudProvider
Equals: Cursor
#------------------------------------------------
# Default Rules
#------------------------------------------------
- Type: Group
Name: Read Input
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: uncach
- Contains: read
- Contains: inp
- Type: Group
Name: Write Input
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: uncach
- Contains: write
- Contains: inp
- Type: Group
Name: Read Output
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: uncach
- Contains: read
- Contains: [out, opt]
- Type: Group
Name: Write Output
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: uncach
- Contains: write
- Contains: [out, opt]
- Type: Group
Name: Input
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: uncach
- Contains: inp
- Type: Group
Name: Output
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: uncach
- Contains: [out, opt]
- Type: Group
Name: Cached Write Input
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: [cach, cd]
- Contains: [wr, creation]
- Type: Group
Name: Cached Read Input
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: [cach, cd]
- Contains: [read, inpu]
- Type: Group
Name: Cached Input
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: cach
- Contains: inp
- Type: Group
Name: Cached Output
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: cach
- Contains: [out, opt]
- Type: Group
Name: Input
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: inp
- Type: Group
Name: Output
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: [out, opt]
- Type: Group
Name: Image
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: image
- Type: Group
Name: Video
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: video
- Type: Group
Name: Text
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: text
- Type: Group
Name: Embedding
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: embedding
- Type: Group
Name: PTU
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Contains: provision
- Contains: unit
- Type: Group
Name: Other
Conditions:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
GenAI_Model:
Name: GenAI Model
Sources: CZ:Defined:ServiceDetail
Rules:
#--------------------------------------
# Override Logic
#--------------------------------------
- Type: GroupBy
Source: CZ:Defined:GenAI_Model_Override
#--------------------------------------
# AWS Logic - Externalized becuase it may be custom at each customer
#--------------------------------------
#-------Marketplace purchased models
- Type: GroupBy
Source: Service
Transforms:
- Type: Split
Delimiter: ' ('
Index: 1
- Type: Normalize
Conditions:
- And:
- Source: CloudProvider
Equals: AWS Marketplace
- Source: Service
Contains: Bedrock
- Source: CZ:Defined:ResourceType
Contains: application-inference-profile
- Type: GroupBy
Source: CZ:Defined:Resource_LowCardinality
Transforms:
- Type: Split
Delimiter: ':'
Index: 7
Conditions:
- And:
- Source: CloudProvider
Equals: AWS Marketplace
- Source: Service
Contains: Bedrock
- Type: GroupBy
Source: Service
Transforms:
- Type: Split
Delimiter: ' ('
Index: 1
- Type: Normalize
Conditions:
- And:
- Source: CloudProvider
Equals: AWS Marketplace
- Source: Service
Contains: Bedrock
#-------AWS Bedrock
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: 'Guardrail-'
Index: 2
Format: 'Guardrail-{0}'
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: CZ:Defined:GenAI_Platform
Contains: [Amazon, AWS, Bedrock]
- Type: GroupBy
Source: CZ:Defined:ResourceType
Transforms:
- Type: Split
Delimiter: ': '
Index: 2
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: CZ:Defined:GenAI_Platform
Contains: [Amazon, AWS, Bedrock]
- Source: CZ:Defined:ResourceType
Equals: ["Bedrock: model-invocation-job", "Bedrock: data-automation-invocation"]
- Type: GroupBy
Source: CZ:Defined:Resource_LowCardinality
Transforms:
- Type: Split
Delimiter: ':'
Index: 7
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: CZ:Defined:ResourceType
Equals: ["Bedrock: foundation-model", "Bedrock: inference-profile"]
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Type: GroupBy
Source: CZ:Defined:Resource_LowCardinality
Transforms:
- Type: Split
Delimiter: ':'
Index: 7
- Type: Split
Delimiter: '|'
Index: 1
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: CZ:Defined:ResourceType
Equals: ["BedrockService: inference-profile"]
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Type: GroupBy
Source: UsageType
Transforms:
- Type: Split
Delimiter: '-'
Index: 2
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: CZ:Defined:ResourceType
Equals: ["BedrockService: application-inference-profile"]
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Type: Group
Name: aws-bedrock-custom-model
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: CZ:Defined:GenAI_Platform
Contains: [Amazon, AWS, Bedrock]
#--------------------------------------
# GCP Logic
#--------------------------------------
- Type: GroupBy
Source: CZ:Defined:ServiceDisplay
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Not:
- Source: Service
Equals: [Vertex AI, Gemini API]
- Type: Group
Name: PaLM Text Bison
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: UsageFamily
Contains: PaLM Text Bison
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Split
Delimiter: ' Input'
Index: 1
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: UsageFamily
Contains: Input
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Split
Delimiter: ' Output'
Index: 1
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: UsageFamily
Contains: Output
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Split
Delimiter: ' ('
Index: 1
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: UsageFamily
Contains: " ("
- Type: GroupBy
Source: UsageFamily
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Split
Delimiter: 'count for '
Index: 2
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Gemini API
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Split
Delimiter: 'count '
Index: 2
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Gemini API
#--------------------------------------
# Azure Logic
#--------------------------------------
#--- Foundry Models
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'gpt-'
Index: 2
- Type: Split
Delimiter: ')'
Index: 1
Format: 'gpt-{0}'
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
BeginsWith: Foundry
- Source: UsageFamily
Transforms:
- Type: Lower
Contains: gpt
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'text-'
Index: 2
- Type: Split
Delimiter: ')'
Index: 1
Format: 'text-{0}'
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
BeginsWith: Foundry
- Source: UsageFamily
Transforms:
- Type: Lower
Contains: text
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Lower
- Type: Split
Delimiter: '('
Index: 2
- Type: Split
Delimiter: ')'
Index: 1
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: UsageFamily
BeginsWith: Foundry
#--- microsoft.saas General "paygo" Logic
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-inf'
Index: 1
- Type: Split
Delimiter: '-'
Index: 2
Maxsplit: 2
- Type: Trim
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: "-inf"
#--- microsoft.saas General Logic
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-'
Index: 2
- Type: Trim
Conditions:
- And:
- Source: CloudProvider
Equals: Azure Marketplace
- Source: UsageType
Transforms:
- Type: Lower
Contains: [ai21, anthropic, anyscale, arize, baidu, chatgpt, claude, codex, cohere, coreweave, credal, cursor, deepmind, deepsearch, devin ai, eleven labs, fireworks, fireworks.ai, gemini, glean, grok, groq, hugging face, lambda labs, leonardo.ai, litellm, llama, luma, meta, mistral, modal, moonshot ai, open-ai, openai, portkey, perplexity, replicate, runpod, runware, runway, stability, together, xai, z.ai]
#--- General Logic
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: ' cache'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: " cache"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-cache'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: "-cache"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: ' inp'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Normalize
Contains: " inp"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-inp'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: "-inp"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: ' outp'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: " outp"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-outp'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: "-outp"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: ' regional'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: " regional"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-regional'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: "-regional"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: ' glbl'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: " glbl"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-glbl'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: "-glbl"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: ' std'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: " std"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-std'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: "-std"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: ' hd'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: " hd"
- Type: GroupBy
Source: Operation
Transforms:
- Type: Lower
- Type: Split
Delimiter: '-hd'
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: Azure
- Source: Operation
Transforms:
- Type: Lower
Contains: "-hd"
#--------------------------------------
# Anthropic Enterprise Logic
#--------------------------------------
- Type: GroupBy
Source: UsageFamily
Conditions:
- Source: CloudProvider
Equals: Anthropic Enterprise
#--------------------------------------
# Anthropic API Logic
#--------------------------------------
- Type: GroupBy
Source:
- Tag:anthropic_cz:model
- Service
CoalesceSources: True
Conditions:
- Source: CloudProvider
Contains: Anthropic
#--------------------------------------
# Curosr Logic
#--------------------------------------
- Type: GroupBy
Source: Tag:cursor-model # This is for the legacy cursor adapter
Conditions:
- Source: CloudProvider
Equals: Cursor
- Type: GroupBy
Source: UsageFamily
Conditions:
- Source: CloudProvider
Equals: Cursor
#----------------------------------
# Github Copilot
#----------------------------------
- Type: GroupBy
Source: UsageType
Conditions:
- And:
- Source: CloudProvider
Equals: GitHub
- Source: Service
Equals: [copilot, github_copilot]
#--------------------------------------
# OpenAI Logic
#--------------------------------------
- Type: GroupBy
Source: UsageFamily
Conditions:
- Source: CloudProvider
Equals: OpenAI Enterprise
- Type: GroupBy
Source: Tag:open_ai_cz:model # Might not exist for older adapters
Transforms:
- Type: Split
Delimiter: ' | '
Index: 2
- Type: GroupBy
Source: Tag:open_ai_cz:model # Might not exist for older adapters
- Type: GroupBy
Source: CZ:Defined:Resource_LowCardinality # Older adapters
Transforms:
- Type: Split
Delimiter: ':'
Index: 7
- Type: Split
Delimiter: '|'
Index: 1
Conditions:
- And:
- Source: CloudProvider
Transforms:
- Type: Lower
Equals: openai
- Source: CZ:Defined:Resource_LowCardinality
Contains: gpt-
- Type: GroupBy
Source: Service
Conditions:
- Source: CloudProvider
Transforms:
- Type: Lower
Equals: openai
#----------------------------------
# Snowflake Logic
#----------------------------------
- Type: GroupBy
Source: Tag:model_name
Conditions:
- And:
- Source: CloudProvider
Equals: Snowflake
- Source: Service
Equals: [Snowflake Cortex, SnowflakeCortex]
#--------------------------------------
# Fallback Logic
#--------------------------------------
- Type: Group
Name: Other
Conditions:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
GenAI_Model_Family:
Name: GenAI Model Family
Child: CZ:Defined:GenAI_Model
Source: UsageFamily
Rules:
#--------------------------------------
# Override Logic
#--------------------------------------
- Type: GroupBy
Source: CZ:Defined:GenAI_Model_Family_Override
#--------------------------------------
# AWS Marketplace Logic - Externalized becuase it may be custom at each customer
#--------------------------------------
- Type: GroupBy
Source: Service
Transforms:
- Type: Split
Delimiter: ' (Amazon Bedrock Edition)'
Index: 1
Conditions:
- And:
- Source: CloudProvider
Equals: AWS Marketplace
- Source: Service
Contains: Bedrock
#--------------------------------------
# AWS Bedrock Generic Logic
#--------------------------------------
- Type: Group
Name: Bedrock Guardrails
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: CZ:Defined:GenAI_Platform
Contains: [Amazon, AWS, Bedrock]
- Source: CZ:Defined:GenAI_Model
BeginsWith: Guardrail
- Type: Group
Name: Bedrock AI jobs
Conditions:
- Source: CZ:Defined:GenAI_Model
Equals: [model-invocation-job, data-automation-invocation]
#--------------------------------------
# Misc Models
#--------------------------------------
- Type: Group
Name: Qwen3.7-Plus
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [qwen3-7-plus, qwen37-plus]
- Type: Group
Name: Qwen3.7
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [qwen3-7, qwen37]
- Type: Group
Name: Qwen3.6-Plus
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [qwen3-6-plus, qwen36-plus]
- Type: Group
Name: Qwen3.6
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [qwen3-6, qwen36]
- Type: Group
Name: Qwen3.5-Plus
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [qwen3-5-plus, qwen35-plus]
- Type: Group
Name: Qwen3.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [qwen3-5, qwen35]
- Type: Group
Name: Nova 2.0 Pro
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [nova2-0pro, nova-2-0-pro]
- Type: Group
Name: Nova 2.0 Lite
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [nova2-0lite, nova-2-0-lite]
- Type: Group
Name: Kimi K2.7
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [kimi-k2-7, kimi-k27]
- Type: Group
Name: Kimi K2.6
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [kimi-k2-6, kimi-k26]
- Type: Group
Name: Kimi K2.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [kimi-k2-5, kimi-k25]
- Type: Group
Name: GLM-5.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [glm-5-1, glm-51]
- Type: Group
Name: GLM-4.7
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [glm-4-7, glm-47]
- Type: Metadata
Source: CZ:Defined:GenAI_Model
Values:
- GLM-5V-Turbo
- GLM-5-Turbo
- GLM-5
- GLM-4
- GLM-OCR
- GLM
- Kimi K3
- Kimi K2
- Kimi
- Moonshot
- Nova 2 Lite: [nova2lite, nova2-lite, nova-2-lite]
- Nova 2 Omni: [nova2omni, nova2-omni, nova-2-omni]
- Nova 2 Pro: [nova2pro, nova2-pro, nova-2-pro]
- Nova 2 Sonic: [nova2sonic, nova2-sonic, nova-2-sonic]
- Nova 2: [nova2, nova-2]
- Nova Canvas: [novacanvas]
- Nova Lite: [novalite]
- Nova Micro: [novamicro]
- Nova Multi-Modal Embeddings: [NovaMultiModalEmbeddings]
- Nova Premier: [novapremier]
- Nova Pro: [novapro]
- Nova Reel: [novareel]
- Nova
- Qwen4
- Qwen3-Max
- Qwen3-Next
- Qwen3-Omni
- Qwen3-VL
- Qwen3-Coder-Next
- Qwen3
- Qwen2
- Qwen
- Olympus Image Generator
- Titan Embeddings G1: [titanembed, titan-embed]
- Titan Image Generator G1: [titan-image-generator, titanimagegenerator, titanimage]
- Titan Text G1 - Express: [titan-text-express, titantextexpress, titantext-express, titantextg1-express]
- Titan Text G1 - Lite: [titan-text-lite, titantextlite, titantext-lite, titantextg1-lite]
- Titan Text G1 - Premier: [titan-text-premier, titantextpremier, titantext-premier, titantextg1-premier]
- Titan Text G1: [titantext, titan-text]
- Titan
#--------------------------------------
# Cohere Logic
#--------------------------------------
- Type: Metadata
Sources: CZ:Defined:GenAI_Model
Values:
- Rerank
- Command Light: [commandlight]
- Command R: [commandr]
- Command
#--------------------------------------
# Cursor
#--------------------------------------
- Type: Group
Name: Cursor Composer 2.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [composer2-5, composer-2-5]
- Type: Metadata
Sources: CZ:Defined:GenAI_Model
Values:
- Cursor Composer 3: [composer3, composer-3]
- Cursor Composer 2: [composer2, composer-2]
- Cursor Composer
#--------------------------------------
# Deepseek General Logic
#--------------------------------------
- Type: Group
Name: DeepSeek-V3.2
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [deepseek-v3-2, deepseek-v32]
- Type: Group
Name: DeepSeek-V3.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [deepseek-v3-1, deepseek-v31]
- Type: Metadata
Source: CZ:Defined:GenAI_Model
Values:
- DeepSeek-V4
- DeepSeek-V3
- DeepSeek-V2
- DeepSeek-R1-Distill
- DeepSeek-R1
#--------------------------------------
# GCP Vertex Logic
#--------------------------------------
# Non-Vertex Providers
- Type: GroupBy
Source: CZ:Defined:ServiceDisplay
Transforms:
- Type: Split
Delimiter: ' ('
Index: 1
Conditions:
- And:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
- Source: CloudProvider
Contains: GCP
- Not:
- Source: Service
Equals: [Vertex AI, Gemini API]
# Vertex Providers
- Type: Group
Name: PaLM Text Bison
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: CZ:Defined:GenAI_Model
Equals: PaLM Text Bison
- Type: Group
Name: PaLM Text Bison
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: CZ:Defined:GenAI_Model
Equals: PaLM Text Bison
# Dynamic logic for future values
- Type: Group
Name: Evaluation Service
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: UsageFamily
Contains: Evaluation service
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Split
Delimiter: ' Pro'
Index: 1
- Type: Trim
Format: '{0} Pro'
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: UsageFamily
Contains: Pro
- Type: GroupBy
Source: UsageFamily
Transforms:
- Type: Split
Delimiter: ' Flash'
Index: 1
- Type: Trim
Format: '{0} Flash'
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: UsageFamily
Contains: Flash
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Split
Delimiter: ' Text'
Index: 1
- Type: Trim
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: CZ:Defined:GenAI_Model
Contains: Text
- Not:
- Source: CZ:Defined:GenAI_Model
BeginsWith: Embedding
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Split
Delimiter: ' Video'
Index: 1
- Type: Trim
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: CZ:Defined:GenAI_Model
Contains: Video
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Split
Delimiter: ' Audio'
Index: 1
- Type: Trim
Conditions:
- And:
- Source: CloudProvider
Contains: GCP
- Source: Service
Equals: Vertex AI
- Source: CZ:Defined:GenAI_Model
Contains: Audio
- Type: Group
Name: Gemini 3.7
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gemini37, gemini3-7, gemini-3-7]
- Type: Group
Name: Gemini 3.6
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gemini36, gemini3-6, gemini-3-6]
- Type: Group
Name: Gemini 3.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gemini35, gemini3-5, gemini-3-5]
- Type: Group
Name: Gemini 3.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gemini31, gemini3-1, gemini-3-1]
- Type: Group
Name: Gemini 2.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gemini25, gemini2-5, gemini-2-5]
- Type: Metadata
Sources: CZ:Defined:GenAI_Model
Values:
#- Vertex Colab
- AI Pipeline
- Embeddings for Text
- ShieldGemma 2
- PaliGemma
- CodeGemma
- TxGemma
- Gemini Embedding 2: [gemini-mm-embedding-2]
- Gemini Embedding: [gemini-mm-embedding]
- Gemini 4
- Gemini 3
- Gemini 2
- Gemini
- Gemma 3
- Gemma 2
- Gemma
- Imagen 4 for Generation: [imagen-4-generation]
- Imagen 4 Ultra Generate
- Imagen 3 for Editing and Customization
- Imagen 3 for Fast Generation: [imagen-3-fast-generation]
- Imagen 3 for Generation: [imagen-3-generation]
- Imagen for Image Generation
- Imagen for Upscaling
- Imagen
- LLM Grounding
- Multimodal Embeddings
- MedLM-large-large
- MedLM-medium
- Nano Banana 2
- Nano Banana Pro
- Nano Banana
- Rescap
- Veo 3 for Generation: [veo-3-generation]
- Veo 2 for Generation: [veo-2-generation]
- Veo
#--------------------------------------
# Grok (xAI)
#--------------------------------------
- Type: Group
Name: Grok 4.8
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [grok4-8, grok-4-8]
- Type: Group
Name: Grok 4.7
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [grok4-7, grok-4-7]
- Type: Group
Name: Grok 4.6
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [grok4-6, grok-4-6]
- Type: Group
Name: Grok 4.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [grok4-5, grok-4-5]
- Type: Group
Name: Grok 4.3
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [grok4-3, grok-4-3]
- Type: Group
Name: Grok 4.20
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [grok4-2, grok-4-2]
- Type: Group
Name: Grok 4.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [grok4-1, grok-4-1]
- Type: Group
Name: Grok Imagine Video 1.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: grok-imagine-video-1-5
- Type: Metadata
Source: CZ:Defined:GenAI_Model
Values:
- Grok 5
- Grok 4
- Grok Imagine Image 2
- Grok Imagine Image
- Grok Imagine Video 2
- Grok Imagine Video
- Grok Voice
#--------------------------------------
# Luma AI General Logic
#--------------------------------------
- Type: Metadata
Source: CZ:Defined:GenAI_Model
Values:
- Ray2
#--------------------------------------
# Meta Generic Logic
#--------------------------------------
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Format: 'Llama 3.7 {0}'
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'llama3-7-'
Index: 2
- Type: Split
Delimiter: '-'
Index: 1
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Format: 'Llama 3.6 {0}'
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'llama3-6-'
Index: 2
- Type: Split
Delimiter: '-'
Index: 1
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Format: 'Llama 3.5 {0}'
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'llama3-5-'
Index: 2
- Type: Split
Delimiter: '-'
Index: 1
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Format: 'Llama 3.4 {0}'
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'llama3-4-'
Index: 2
- Type: Split
Delimiter: '-'
Index: 1
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Format: 'Llama 3.3 {0}'
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'llama3-3-'
Index: 2
- Type: Split
Delimiter: '-'
Index: 1
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Format: 'Llama 3.2 {0}'
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'llama3-2-'
Index: 2
- Type: Split
Delimiter: '-'
Index: 1
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Format: 'Llama 3.1 {0}'
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'llama3-1-'
Index: 2
- Type: Split
Delimiter: '-'
Index: 1
- Type: GroupBy
Source: CZ:Defined:GenAI_Model
Format: 'Llama 3 {0}'
Transforms:
- Type: Lower
- Type: Split
Delimiter: 'llama3-'
Index: 2
- Type: Split
Delimiter: '-'
Index: 1
- Type: Metadata
Source: CZ:Defined:GenAI_Model
Values:
- Llama 4 Maverick: [llama4-maverick]
- Llama 4 Scout: [llama4-scout]
- Llama 3: [llama3]
- Llama
#--------------------------------------
# Mistral Generic Logic
#--------------------------------------
- Type: Metadata
Source: CZ:Defined:GenAI_Model
Values:
- Pixtral Large: [pixtrallarge, mistrallarge, mistral7b, mistralsmall]
- Pixtral
- Mistral
#--------------------------------------
# Anthropic Logic (Keep at bottom above OpenAI)
#--------------------------------------
- Type: Group
Name: Claude Mythos 5.2
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [5-2-mythos, 52-mythos, 5-2mythos, mythos-52, mythos-5-2]
- Type: Group
Name: Claude Fable 5.2
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [5-2-fable, 52-fable, 5-2fable, fable-52, fable-5-2]
- Type: Group
Name: Claude Opus 5.2
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [5-2-opus, 52-opus, 5-2opus, opus-52, opus-5-2]
- Type: Group
Name: Claude Mythos 5.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [5-1-mythos, 51-mythos, 5-1mythos, mythos-51, mythos-5-1]
- Type: Group
Name: Claude Fable 5.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [5-1-fable, 51-fable, 5-1fable, fable-51, fable-5-1]
- Type: Group
Name: Claude Opus 5.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [5-1-opus, 51-opus, 5-1opus, opus-51, opus-5-1]
- Type: Group
Name: Claude Opus 4.8
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-8-opus, 48-opus, 4-8opus, opus-48, opus-4-8]
- Type: Group
Name: Claude Sonnet 5.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [5-1-sonnet, 51-sonnet, 5-1sonnet, sonnet-51, sonnet-5-1]
- Type: Group
Name: Claude Sonnet 4.7
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-7-sonnet, 47-sonnet, 4-7sonnet, sonnet-47, sonnet-4-7]
- Type: Group
Name: Claude Opus 4.7
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-7-opus, 47-opus, 4-7opus, opus-47, opus-4-7]
- Type: Group
Name: Claude Sonnet 4.6
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-6-sonnet, 46-sonnet, 4-6sonnet, sonnet-46, sonnet-4-6]
- Type: Group
Name: Claude Opus 4.6
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-6-opus, 46-opus, 4-6opus, opus-46, opus-4-6]
- Type: Group
Name: Claude Sonnet 4.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-5-sonnet, 45-sonnet, 4-5sonnet, sonnet-45, sonnet-4-5]
- Type: Group
Name: Claude Opus 4.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-5-opus, 45-opus, 4-5opus, opus-45, opus-4-5]
- Type: Group
Name: Claude Haiku 4.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-5-haiku, 45-haiku, 4-5haiku, haiku-45, haiku-4-5]
- Type: Group
Name: Claude Sonnet 4.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-1-sonnet, 41-sonnet, 4-1sonnet, sonnet-41, sonnet-4-1]
- Type: Group
Name: Claude Opus 4.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-1-opus, 41-opus, 4-1opus, opus-41, opus-4-1]
- Type: Group
Name: Claude Haiku 4.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [4-1-haiku, 41-haiku, 4-1haiku, haiku-41, haiku-4-1]
- Type: Group
Name: Claude 3.7 Sonnet
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [3-7-sonnet, 37-sonnet, 3-7sonnet, sonnet-37, sonnet-3-7]
- Type: Group
Name: Claude 3.7 Opus
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [3-7-opus, 37-opus, 3-7opus, opus-37, opus-3-7]
- Type: Group
Name: Claude 3.7 Haiku
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [3-7-haiku, 37-haiku, 3-7haiku, haiku-37, haiku-3-7]
- Type: Group
Name: Claude 3.5 Sonnet
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [3-5-sonnet, 35-sonnet, 3-5sonnet, sonnet-35, sonnet-3-5]
- Type: Group
Name: Claude 3.5 Opus
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [3-5-opus, 35-opus, 3-5opus, opus-35, opus-3-5]
- Type: Group
Name: Claude 3.5 Haiku
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [3-5-haiku, 35-haiku, 3-5haiku, haiku-35, haiku-3-5]
- Type: Metadata
Source: CZ:Defined:GenAI_Model
Values:
- Claude Fable 5: [5fable, fable5, fable-5]
- Claude Mythos 5: [5mythos, mythos5, mythos-5]
- Claude Sonnet 5: [5sonnet, sonnet5, sonnet-5]
- Claude Opus 5: [5opus, opus5, opus-5]
- Claude Haiku 5: [5haiku, haiku5, haiku-5]
- Claude Sonnet 4: [4sonnet, sonnet4, sonnet-4]
- Claude Opus 4: [4opus, opus4, opus-4]
- Claude Haiku 4: [4haiku, haiku4, haiku-4]
- Claude 3 Sonnet: [3sonnet, sonnet3, sonnet-3]
- Claude 3 Opus: [3opus, opus3, opus-3]
- Claude 3 Haiku: [3haiku, haiku3, haiku-3]
- Claude Instant
- Claude
#--------------------------------------
# OpenAI Logic (Keep at bottom above AWS Bedrock fallback)
#--------------------------------------
- Type: Group
Name: GPT-5.6 Cyber
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6-cyber, gpt-56-cyber]
- Type: Group
Name: GPT-5.6 Luna
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6-luna, gpt-56-luna]
- Type: Group
Name: GPT-5.6 Sol
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6-sol, gpt-56-sol]
- Type: Group
Name: GPT-5.6 Terra
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6-terra, gpt-56-terra]
- Type: Group
Name: GPT-5.6 pro
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6-pro, gpt-56-pro]
- Type: Group
Name: GPT-5.6 nano
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6-nano, gpt-56-nano]
- Type: Group
Name: GPT-5.6 mini
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6-mini, gpt-56-mini]
- Type: Group
Name: GPT-5.6 Codex
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6-codex, gpt-56-codex]
- Type: Group
Name: GPT-5.6
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-6, gpt-56]
- Type: Group
Name: GPT-5.5 pro
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-5-pro, gpt-55-pro]
- Type: Group
Name: GPT-5.5 nano
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-5-nano, gpt-55-nano]
- Type: Group
Name: GPT-5.5 mini
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-5-mini, gpt-55-mini]
- Type: Group
Name: GPT-5.5 Codex
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-5-codex, gpt-55-codex]
- Type: Group
Name: GPT-5.5
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-5, gpt-55]
- Type: Group
Name: GPT-5.4 pro
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-4-pro, gpt-54-pro]
- Type: Group
Name: GPT-5.4 nano
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-4-nano, gpt-54-nano]
- Type: Group
Name: GPT-5.4 mini
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-4-mini, gpt-54-mini]
- Type: Group
Name: GPT-5.4 Codex
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-4-codex, gpt-54-codex]
- Type: Group
Name: GPT-5.4
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-4, gpt-54]
- Type: Group
Name: GPT-5.3 pro
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-3-pro, gpt-53-pro]
- Type: Group
Name: GPT-5.3 nano
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-3-nano, gpt-53-nano]
- Type: Group
Name: GPT-5.3 mini
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-3-mini, gpt-53-mini]
- Type: Group
Name: GPT-5.3 Codex
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-3-codex, gpt-53-codex]
- Type: Group
Name: GPT-5.3
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-3, gpt-53]
- Type: Group
Name: GPT-5.2 pro
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-2-pro, gpt-52-pro]
- Type: Group
Name: GPT-5.2 nano
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-2-nano, gpt-52-nano]
- Type: Group
Name: GPT-5.2 mini
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-2-mini, gpt-52-mini]
- Type: Group
Name: GPT-5.2 Codex
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-2-codex, gpt-52-codex]
- Type: Group
Name: GPT-5.2
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-2, gpt-52]
- Type: Group
Name: GPT-5.1 Codex
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-1-codex, gpt-51-codex]
- Type: Group
Name: GPT-5.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-5-1, gpt-51]
- Type: Group
Name: GPT-4.5 mini
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-4-5-mini, gpt-45-mini]
- Type: Group
Name: GPT-4.1 nano
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-4-1-nano, gpt-41-nano]
- Type: Group
Name: GPT-4.1 mini
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-4-1-mini, gpt-41-mini]
- Type: Group
Name: GPT-4.1
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-4-1, gpt-41]
- Type: Group
Name: GPT-3.5 Turbo
Conditions:
- Source: CZ:Defined:GenAI_Model
Transforms:
- Type: Normalize
Contains: [gpt-3-5-turbo, gpt-35-turbo]
- Type: Metadata
Sources: CZ:Defined:GenAI_Model
Values:
- Babbage
- codex-mini
- codex
- computer-use-preview
- Dall-E 4
- Dall-E 3
- Dall-E 2
- Davinci
#---GPT models are in a specific order to ensure matching
- Sora 3 Pro
- Sora 3
- Sora 2 Pro
- Sora 2
- ChatGPT-4o
- GPT-OSS
- GPT Image 2
- GPT Image 1
- GPT-6 Astra
- GPT-6 Realtime
- GPT-6 Nano
- GPT-6 Mini
- GPT-6
- GPT-5 Astra
- GPT-5 Realtime
- GPT-5 Pro
- GPT-5 Nano
- GPT-5 Mini
- GPT-5 Chat
- GPT-5
- GPT-4o Transcribe
- GPT-4o Search Preview
- GPT-4o mini Search Preview
- GPT-4o mini Transcribe
- GPT-4o mini TTS
- GPT-4o mini Realtime Preview
- GPT-4o mini Realtime
- GPT-4o Realtime Preview
- GPT-4o Realtime
- GPT-4o mini Audio
- GPT-4o Audio
- GPT-4o mini
- GPT-4o
- GPT 4 Mini
- GPT-4 Turbo
- GPT-4
- GPT Realtime
- GPT
#---
- o4-mini
- o4
- o3-mini
- o3-pro
- o3
- o1-mini
- o1-pro
- o1
- omni-moderation
- text-moderation
- text-embedding-3
- text-embedding-ada-002
- TTS-1 HD
- TTS-1
- Whisper
- ada
#--------------------------------------
# Fallback Logic For AWS Bedrock (keep at bottom)
#--------------------------------------
- Type: Group
Name: AWS Bedrock Managed Model
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Not:
- Source: CloudProvider
Contains: Marketplace
- Source: CZ:Defined:GenAI_Platform
Contains: [Amazon, AWS, Bedrock]
#--------------------------------------
# Fallback Logic
#--------------------------------------
- Type: Group
Name: Other
Conditions:
- Source: CZ:Defined:GenAI_Platform
HasValue: True
GenAI_Platform_Override: # HIDDEN - To be overriden for custom / new AI logic
Name: GenAI Platform - Override
Hide: True
Rules:
- Type: Group
Name: Override Logic
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: Service
Equals: OverrideLogic
GenAI_Model_Override: # HIDDEN - To be overriden for custom / new AI logic
Name: GenAI Model - Override
Hide: True
Rules:
- Type: Group
Name: Override Logic
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CZ:Defined:GenAI_Platform
Equals: Bedrock
- Source: Service
Equals: OverrideLogic
GenAI_Model_Family_Override: # HIDDEN - To be overriden for custom / new AI logic
Name: GenAI Model Family - Override
Hide: True
Rules:
- Type: Group
Name: Override Logic
Conditions:
- And:
- Source: CloudProvider
Equals: AWS
- Source: CZ:Defined:GenAI_Platform
Equals: Bedrock
- Source: Service
Equals: OverrideLogic
# Hidden and used for dimensions
ResourceSummaryDisplay: # HIDDEN
Name: Resource Summary Display
Hide: True
Source: CZ:Defined:ResourceSummaryID
Rules:
- Type: GroupBy
Source: CZ:Defined:ResourceSummaryID
Conditions:
- Not:
- BeginsWith: czrn
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
ResourceDisplay: # HIDDEN
Name: Resource Display
Hide: True
Rules:
#-----------------------------------------
# AnyCost Adapters
#-----------------------------------------
- Type: GroupBy
Source: Resource
Transforms:
- Type: Split
Delimiter: ':'
Index: 7
Maxsplit: 7
Conditions:
- Not:
- Source: CloudProvider
BeginsWith: [AWS, GCP, Azure, Snowflake, Datadog, New Relic, MongoDB, Databricks]
- Type: GroupBy
Source: Resource
Transforms:
- Type: Split
Delimiter: ':'
Index: 6
Maxsplit: 6
Conditions:
- Not:
- Source: CloudProvider
BeginsWith: [AWS, GCP, Azure, Snowflake, Datadog, New Relic, MongoDB, Databricks]
- Type: GroupBy
Source: Resource
Conditions:
- Not:
- Source: CloudProvider
BeginsWith: [AWS, GCP, Azure, Snowflake, Datadog, New Relic, MongoDB, Databricks]
#-----------------------------------------
# Default Logic
#-----------------------------------------
- Type: GroupBy
Source: Resource
Transforms:
- Type: Split
Delimiter: ':'
Index: 7
Maxsplit: 7
Conditions:
- Source: Resource
BeginsWith: czrn
- Type: GroupBy
Source: Resource
Transforms:
- Type: Split
Delimiter: ':'
Index: 6
Maxsplit: 6
Conditions:
- Source: Resource
BeginsWith: czrn
- Type: Group
Name: service-usage
Conditions:
- Source: Resource
BeginsWith: czrn
- Type: GroupBy
Source: Resource
Transforms:
- Type: Split
Delimiter: ':'
Index: 6
Maxsplit: 6
Conditions:
- Source: Resource
BeginsWith: [arn, billingitem-Usage]
- Type: Group
Name: service-usage
Conditions:
- Source: Resource
BeginsWith: [arn, billingitem-Usage]
- Type: GroupBy
Source: Resource
Resource_LowCardinality: # HIDDEN
Name: Resource - Low Cardinality
Hide: True
Rules:
- Type: GroupBy
Source: Resource
Conditions:
- And:
- Not:
- Source: CloudProvider
Equals: [AWS, GCP, Azure, Databricks, New Relic, Snowflake]
- Not:
- Source: Resource
Contains: ':instance:'
- Source: Service
BeginsWith: AmazonBedrock
ResourceNameOnly: # DEPRICATED; HIDDEN
Name: Resource Name
Hide: True
Rules:
- Type: GroupBy
Source: CZ:Defined:ResourceDisplay
ServiceDisplay: # HIDDEN
Name: Service Display
Hide: True
Source: Service
Rules:
#--------------------------------------
# Datadog Service Name Mapping
#--------------------------------------
- Type: Group
Name: APM
Conditions:
- Equals: apm_host
- Type: Group
Name: APM(ExcludesUSMHosts)
Conditions:
- Equals: apm_host_no_usm
- Type: Group
Name: APMDevSecOpsEnterprise
Conditions:
- Equals: apm_ent_devsecops
- Type: Group
Name: APMEnterprise
Conditions:
- Equals: apm_host_enterprise
- Type: Group
Name: APMPro
Conditions:
- Equals: apm_host_pro
- Type: Group
Name: APMProfiler
Conditions:
- Equals: apm_profiler_host
- Type: Group
Name: ApplicationSecurity-ThreatManagement
Conditions:
- Equals: application_security_host
- Type: Group
Name: ApplicationVulnerabilityManagement-OSS
Conditions:
- Equals: application_vulnerability_management_oss_host
- Type: Group
Name: AuditTrail
Conditions:
- Equals: audit_trail
- Type: Group
Name: CloudCostManagement
Conditions:
- Equals: cloud_cost_management
- Type: Group
Name: CloudSecurityManagement
Conditions:
- Equals: cspm_host
- Type: Group
Name: CloudSecurityManagementContainersEnterprise
Conditions:
- Equals: csm_container_enterprise
- Type: Group
Name: CloudSecurityManagementEnterprise
Conditions:
- Equals: csm_host_enterprise
- Type: Group
Name: CloudSecurityManagementPro
Conditions:
- Equals: csm_host_pro
- Type: Group
Name: CloudSIEM-Indexed
Conditions:
- Equals: siem_indexed
- Type: Group
Name: CloudSIEM
Conditions:
- Equals: siem
- Type: Group
Name: CloudWorkloadSecurity
Conditions:
- Equals: cws_host
- Type: Group
Name: Cont.DevSecOpsPro
Conditions:
- Equals: cont_devsecops_pro
- Type: Group
Name: CSMProContainers
Conditions:
- Equals: cspm_container
- Type: Group
Name: CustomEvents
Conditions:
- Equals: custom_event
- Type: Group
Name: CustomMetrics
Conditions:
- Equals: timeseries
- Type: Group
Name: CWSContainers
Conditions:
- Equals: cws_container
- Type: Group
Name: DatabaseMonitoring-NormalizedQueries
Conditions:
- Equals: dbm_normalized_queries
- Type: Group
Name: DatabaseMonitoring
Conditions:
- Equals: dbm_host
- Type: Group
Name: DataStreamsMonitoring
Conditions:
- Equals: data_stream_monitoring
- Type: Group
Name: DrawdownMinimumSpend
Conditions:
- Equals: drawdown_min_spend
- Type: Group
Name: ErrorTracking
Conditions:
- Equals: error_tracking
- Type: Group
Name: Fargate(APMandProfiler)
Conditions:
- Equals: fargate_container_apm_and_profiler
- Type: Group
Name: Fargate(ApplicationSecurity-ThreatManagement)
Conditions:
- Equals: application_security_fargate
- Type: Group
Name: Fargate(ContinuousProfiler)
Conditions:
- Equals: fargate_container_profiler
- Type: Group
Name: FargateTasks(APM)
Conditions:
- Equals: apm_fargate
- Type: Group
Name: FargateTasks(Pro)
Conditions:
- Equals: fargate_container
- Type: Group
Name: FlexLogs-ExtraSmall
Conditions:
- Equals: flex_compute_logs_extra_small
- Type: Group
Name: FlexLogs-Medium
Conditions:
- Equals: flex_compute_logs_medium
- Type: Group
Name: FlexLogs-Small
Conditions:
- Equals: flex_compute_logs_small
- Type: Group
Name: FlexLogs-Starter
Conditions:
- Equals: flex_logs_starter
- Type: Group
Name: FlexStoredLogs
Conditions:
- Equals: flex_stored_logs
- Type: Group
Name: HostDevSecOpsProPlus
Conditions:
- Equals: host_devsecops_proplus
- Type: Group
Name: IncidentManagement
Conditions:
- Equals: incident_management
- Type: Group
Name: IndexedLogEvents
Conditions:
- Equals: logs_indexed
- Type: Group
Name: IndexedSpans
Conditions:
- Equals: apm_trace_search
- Type: Group
Name: InfrastructureandAPMHosts
Conditions:
- Equals: infra_and_apm_host
- Type: Group
Name: InfrastructureContainers
Conditions:
- Equals: infra_container
- Type: Group
Name: InfrastructureContainers(ExcludesAgent)
Conditions:
- Equals: infra_container_excl_agent
- Type: Group
Name: InfrastructureHosts
Conditions:
- Equals: infra_host
- Type: Group
Name: IngestedCustomMetrics
Conditions:
- Equals: ingested_timeseries
- Type: Group
Name: IngestedSpans
Conditions:
- Equals: ingested_spans
- Type: Group
Name: IntelligentTestRunner
Conditions:
- Equals: ci_intelligent_test_runner
- Type: Group
Name: LogIngestion
Conditions:
- Equals: logs_ingested
- Type: Group
Name: Logs-ForwardingtoCustomDestinations
Conditions:
- Equals: logs_forwarding
- Type: Group
Name: Logs-IndexedLogEvents(15-day)
Conditions:
- Equals: logs_indexed_15day
- Type: Group
Name: Logs-IndexedLogEvents(180-day)
Conditions:
- Equals: logs_indexed_180day
- Type: Group
Name: Logs-IndexedLogEvents(3-day)
Conditions:
- Equals: logs_indexed_3day
- Type: Group
Name: Logs-IndexedLogEvents(30-day)
Conditions:
- Equals: logs_indexed_30day
- Type: Group
Name: Logs-IndexedLogEvents(45-day)
Conditions:
- Equals: logs_indexed_45day
- Type: Group
Name: Logs-IndexedLogEvents(60-day)
Conditions:
- Equals: logs_indexed_60day
- Type: Group
Name: Logs-IndexedLogEvents(7-day)
Conditions:
- Equals: logs_indexed_7day
- Type: Group
Name: Logs-IndexedLogEvents(90-day)
Conditions:
- Equals: logs_indexed_90day
- Type: Group
Name: Logs-IndexedLogEvents(CustomRetention)
Conditions:
- Equals: logs_indexed_custom_retention
- Type: Group
Name: MobileAppTesting
Conditions:
- Equals: synthetics_mobile_app_testing
- Type: Group
Name: NetflowMonitoring
Conditions:
- Equals: netflow_monitoring
- Type: Group
Name: NetworkDeviceMonitoring
Conditions:
- Equals: network_device
- Type: Group
Name: NetworkPerformanceMonitoring
Conditions:
- Equals: npm_host
- Type: Group
Name: ObservabilityPipelines-VCPU
Conditions:
- Equals: observability_pipeline_vcpu
- Type: Group
Name: ObservabilityPipelines
Conditions:
- Equals: observability_pipeline
- Type: Group
Name: OnlineArchive
Conditions:
- Equals: online_archive
- Type: Group
Name: PipelineIndexedSpans
Conditions:
- Equals: ci_pipeline_indexed_spans
- Type: Group
Name: PipelineVisibility
Conditions:
- Equals: ci_pipeline
- Type: Group
Name: PremierSupport
Conditions:
- Equals: premier_support
- Type: Group
Name: ProfiledContainers
Conditions:
- Equals: prof_container
- Type: Group
Name: ProfiledHosts
Conditions:
- Equals: prof_host
- Type: Group
Name: RealUserMonitoringSessions
Conditions:
- Equals: rum
- Type: Group
Name: RUMBrowserandMobileSessions
Conditions:
- Equals: rum_lite
- Type: Group
Name: RUMPremium
Conditions:
- Equals: rum_replay
- Type: Group
Name: SensitiveDataScanner
Conditions:
- Equals: sensitive_data_scanner
- Type: Group
Name: ServerlessAPM
Conditions:
- Equals: serverless_apm
- Type: Group
Name: ServerlessFunctions
Conditions:
- Equals: lambda_function
- Type: Group
Name: ServerlessInvocation
Conditions:
- Equals: serverless_invocation
- Type: Group
Name: ServerlessWorkloadMonitoring-Apps
Conditions:
- Equals: serverless_apps
- Type: Group
Name: ServerlessWorkloads
Conditions:
- Equals: serverless_infra
- Type: Group
Name: StandardCustomMetrics
Conditions:
- Equals: standard_timeseries
- Type: Group
Name: SyntheticsAPITests
Conditions:
- Equals: synthetics_api_tests
- Type: Group
Name: SyntheticsAppTesting
Conditions:
- Equals: synthetics_app_testing
- Type: Group
Name: SyntheticsBrowserTests
Conditions:
- Equals: synthetics_browser_checks
- Type: Group
Name: TestingIndexedSpans
Conditions:
- Equals: ci_test_indexed_spans
- Type: Group
Name: TestingVisibility
Conditions:
- Equals: ci_testing
- Type: Group
Name: UniversalServiceMonitoring-withinInfraHosts
Conditions:
- Equals: usm_within_infra_host
- Type: Group
Name: UniversalServiceMonitoring
Conditions:
- Equals: usm_standalone
- Type: Group
Name: WorkflowAutomation
Conditions:
- Equals: workflow_execution
#--------------------------------------
# AWS Logic
#--------------------------------------
# Override Logic
- Type: Group
Name: "OpenSearch (ES)"
Conditions:
- Equals: AmazonES
- Type: Group
Name: "Step Functions"
Conditions:
- Equals: AmazonStates
#--------------------------------------
# Default Logic
#--------------------------------------
- Type: GroupBy
Source: Service
Transforms:
- Type: Split
Delimiter: Amazon
Index: 2
Conditions:
- Source: Service
BeginsWith: Amazon
- Type: GroupBy
Source: Service
Transforms:
- Type: Split
Delimiter: AWS
Index: 2
Conditions:
- Source: Service
BeginsWith: AWS
#--------------------------------------
# Fallback Logic
#--------------------------------------
- Type: GroupBy
Source: Service
CommittedUseSubscription_Display:
Name: Committed Use Subscription Display
Hide: True
Rules:
#-----------------------------------------------
# AWS Logic
#-----------------------------------------------
- Type: GroupBy
Source: CommittedUseSubscription
Transforms:
- Type: Split
Delimiter: ':savingsplan/'
Index: 2
Format: 'savingsplan: {0}'
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CommittedUseSubscription
Contains: ":savingsplan/"
- Type: GroupBy
Source: CommittedUseSubscription
Transforms:
- Type: Split
Delimiter: ':ri:'
Index: 2
Format: 'ri: {0}'
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CommittedUseSubscription
Contains: ":ri:"
- Type: GroupBy
Source: CommittedUseSubscription
Transforms:
- Type: Split
Delimiter: ':reserved-instance:'
Index: 2
Format: 'reserved-instance: {0}'
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CommittedUseSubscription
Contains: ":reserved-instance:"
- Type: GroupBy
Source: CommittedUseSubscription
Transforms:
- Type: Split
Delimiter: ':reserved-instances/'
Index: 2
Format: 'reserved-instance: {0}'
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CommittedUseSubscription
Contains: ":reserved-instances/"
- Type: GroupBy
Source: CommittedUseSubscription
Transforms:
- Type: Split
Delimiter: ':reserved-instance-exchange/'
Index: 2
Format: 'reserved-instance-exchange: {0}'
Conditions:
- And:
- Source: CloudProvider
Contains: AWS
- Source: CommittedUseSubscription
Contains: ":reserved-instance-exchange/"
#-----------------------------------------------
# Azure Logic
#-----------------------------------------------
- Type: GroupBy
Source: Tag:azure:subscriptionName
Conditions:
- And:
- Source: CloudProvider
Contains: Azure
- Source: CommittedUseSubscription
HasValue: True
#-----------------------------------------------
# Default Logic
#-----------------------------------------------
- Type: GroupBy
Source: CommittedUseSubscriptionTo create your own Dimensions, see Allocate Visually with Dimension Studio or Allocate through YAML with CostFormation.
Have questions or feedback? Reach out to your account manager.
Updated 5 days ago

