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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...