Andrew Bancroft 1/4/2019

Resolving No Events Found When Sampling Data with Azure Stream Analytics

Read Original

This article addresses a common issue where Azure Stream Analytics reports 'No events found' when sampling data from an Event Hub, despite successful data transmission. The author explains that the problem often stems from incorrect JSON structure in the sent events. Using Node.js as an example, they demonstrate that the data must include a 'body' property containing the actual JSON object, rather than sending the object directly. The article provides code snippets comparing incorrect and correct data formats, emphasizing that Stream Analytics expects events with a nested 'body' field. This technical guide is useful for developers working with Azure IoT or event-driven architectures who encounter data sampling failures.

Resolving No Events Found When Sampling Data with Azure Stream Analytics

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser