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 November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...

Index This | Divide 100 by half. What do you get?

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

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...