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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...