All Apps and Add-ons

Microsoft Azure add-on for splunk - python error in consumption input

flobishop
New Member

Hi, 

I'm using Microsoft Azure Add-on for Splunk 3.1.0 and I've the following error message when I try to get billing and consumption input:

2021-02-15 14:35:00,733 ERROR pid=65719 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events. Traceback (most recent call last): File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events self.collect_events(ew) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/azure_consumption.py", line 92, in collect_events input_module.collect_events(self, ew) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/input_module_azure_consumption.py", line 154, in collect_events if len(value) > 0: UnboundLocalError: local variable 'value' referenced before assignment

It is a known issue ?

Florent

Labels (1)
0 Karma
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>