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!

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...