Getting Data In

How to fix: " An error occurred while receiving. The exception is KeyError('records')" while collecting event hub data

akriti
Explorer

The EventHub input is throwing error while trying to collect eventhub data from Microsoft Azure. The Microsoft Cloud Services addon is installed on a Heavy Forwarder and is supposed to send data to the SH.
Following is a snippet of error :

2021-08-06 10:28:23,488 level=WARNING pid=1876189 tid=Thread-1 logger=azure.eventhub._eventprocessor.event_processor pos=event_processor.py:_do_receive:334 | EventProcessor instance '605f0c65-227a-435c-8a26-4018c4a498a6' of eventhub 'xyz' partition '1' consumer group 'abc'. An error occurred while receiving. The exception is KeyError('records').

We have double-checked all the access and permissions that are specified in the addon doc.

I'm not sure if this error is due to permission issue or data format.

Has anyone else faced the same issue with the addon?

Labels (1)
0 Karma

ps7
New Member

Were you able to resolve it.. facing same issue

0 Karma

pkemisetti
Observer

We are facing similar issue. any idea or resolution has any one found 

0 Karma

akriti
Explorer

Make sure that the addon is version 4.1.4 or above. The older versions have the key error issue. That's what worked for me.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...