Logic App Costs aren't available in my Perspective built from tags
search cancel

Logic App Costs aren't available in my Perspective built from tags

book

Article ID: 438559

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

Currently Logic App costs under the Azure Cloud are treated as an Indirect Cost and must be allocated to a Perspective by way of a Cost Reallocation Rule - What is Cost Reallocation? this however won't let you breakdown the cost at a tag level. 

Resolution

As a workaround you can instead make use of FlexReports to breakdown the Cost for Logic Apps Resources by tag, please follow these steps:

1. Create a FlexReport using the following stub - 

{
  "sqlStatement": "SELECT timeInterval_Month AS Month, MeterCategory AS MeterCategory, MeterSubCategory AS MeterSubCategory, ResourceId AS ResourceId, ActualCostInReportingCurrency AS ActualCostInReportingCurrency FROM AZURE_COST_USAGE WHERE (MeterCategory IN ('Logic Apps')) ORDER BY Month DESC",
  "needBackLinkingForTags": true,
  "dataGranularity": "MONTHLY",
  "timeRange": {
    "last": 12
  },
  "limit": -1
}

2. From there then navigate to Add Dimensions, and switch from Show Standard to Show Tags, and search for the tag you wish to break Costs down across.

3. From there then expand the Chart Preview section, and add Actual Cost in Reporting Currency as the Y-Axis, and select the Tag field you added in Step 2 as the Category.