Splunk Dev

Microsoft Azure Billing Add-on for Splunk Cost values are all zero

stonecutter_908
Explorer

I'm using the Microsoft Azure Billing Add-on for Splunk and am troubleshooting why all of my cost values are zero. If I use the same credentials with Azure subscription Billing Reader access, I can pull the data via get-AzureRMConsumptionDetail and see valid entries for PretaxCost. So, I know it's not a credentials issue. However, using the TA, properties.pretaxCost is always 0. Looking at the python code in the TA, I suspect this is due to a variable type mismatch where the field is being treated like an integer versus a decimal. Looking for some help on how to remediate from here. Thanks.

Tags (1)
0 Karma

stonecutter_908
Explorer

This did turn out to be a lack of billing credentials issue but it was a bit more complex than I expected to uncover. EA customers need to first enable the AO view charges setting in EA, outside of the Azure portal. Only then will the Azure sub IAM RBAC take effect to reveal actual charges incurred.

willtsn
Engager

This helped me out greatly. It takes a bit to take effect, so be patient when implementing it.

0 Karma
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...