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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...