Azure Cost management data Export to an external system

%3CLINGO-SUB%20id%3D%22lingo-sub-2404202%22%20slang%3D%22en-US%22%3EAzure%20Cost%20management%20data%20Export%20to%20an%20external%20system%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2404202%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20There%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20exploring%20options%20to%20export%20Azure%20Costing%20and%20usage%20data.%20So%20that%20we%20can%20populate%20it%20to%20grafana.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhile%20searching%20for%20options%20to%20export%20Azure%20Costing%20data%2C%20i%20found%20the%20following%20link%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcost-management-billing%2Fcosts%2Ftutorial-export-acm-data%3Ftabs%3Dazure-portal%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Cost%20Data%20Export%3C%2FA%3E%26nbsp%3B.%20In%20this%20link%2C%20we%20have%20to%20export%20cost%20data%20to%20a%20storage%20account.%20Then%20access%20the%20CSV%20export%20from%20storage%20account%20to%20external%20systems.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20many%20options%20are%20there%20to%20export%20the%20Costing%20data%3F%20Can%20we%20make%20use%20of%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fconsumption%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Consumption%20API%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20what%20are%20the%20charges%20for%20using%20these%20Consumption%20APIs%3F%20Are%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%2C%20there%20are%20two%20options%20in%20mind%3A%3C%2FP%3E%3COL%3E%3CLI%3Eusing%20a%20prometheus%20exporter%20(using%20Consumption%20API)%3C%2FLI%3E%3CLI%3EExport%20Data%20to%20Influx%20DB.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20suggest%20regarding%20the%20available%20alternatives.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2602533%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Cost%20management%20data%20Export%20to%20an%20external%20system%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2602533%22%20slang%3D%22en-US%22%3EHello%20There%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThere%20are%20a%20multiple%20alternatives%20for%20exporting%20Azure%20costing%20and%20export%20data.%20One%20of%20them%20is%20to%20get%20it%20from%20the%20Azure%20portal.%20The%202nd%20option%20is%20to%20programmatically%20export%20the%20data%20into%20Azure%20Storage.%20These%20options%20are%20explained%20%40%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcost-management-billing%2Fcosts%2Ftutorial-export-acm-data%3Ftabs%3Dazure-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcost-management-billing%2Fcosts%2Ftutorial-export-acm-data%3Ftabs%3Dazure-portal%3C%2FA%3E.%3CBR%20%2F%3E%3CBR%20%2F%3EYes%20alternative%20you%20can%20use%20the%20Consumption%20%2F%20Billing%20APIs%20but%20this%20is%20only%20available%20for%20Enterprise%20Customers%20of%20Microsoft..%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3ESameer%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi There,

 

I was exploring options to export Azure Costing and usage data. So that we can populate it to grafana.

 

While searching for options to export Azure Costing data, i found the following link: Azure Cost Data Export . In this link, we have to export cost data to a storage account. Then access the CSV export from storage account to external systems.

 

How many options are there to export the Costing data? Can we make use of the Azure Consumption API 

 

Also, what are the charges for using these Consumption APIs? Are 

 

Currently, there are two options in mind:

  1. using a prometheus exporter (using Consumption API)
  2. Export Data to Influx DB.

 

Please suggest regarding the available alternatives.

1 Reply
Hello There,

There are a multiple alternatives for exporting Azure costing and export data. One of them is to get it from the Azure portal. The 2nd option is to programmatically export the data into Azure Storage. These options are explained @ https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/tutorial-export-acm-data?tabs=a....

Yes alternative you can use the Consumption / Billing APIs but this is only available for Enterprise Customers of Microsoft..

Regards,
Sameer