IoT at the edge, decisions in real time
To act on a threat in a connected device fleet fast enough to matter, do the first filtering at the edge and the real-time decision in Microsoft Fabric. Shipping every reading to the cloud and analyzing it in batches is too slow and too expensive, and the value of spotting a threat decays by the second.
The approach is two tiers. Manage the data on the devices themselves: filter out the noise, summarize the high-frequency streams, and run lightweight checks locally, so only meaningful signals travel upstream. Then stream what matters into Fabric, where it is ingested, stored and queried in under a second, and a detected threat becomes an automatic alert or action.
Varmoda builds these pipelines where three of its strengths meet: Microsoft and Fabric, data and SI, and cybersecurity. The companion paper on defending critical infrastructure covers why these fleets are targets in the first place.
The challenge
- Volume and speed. Thousands of sensors emit readings continuously. Sending all of it to the cloud is costly, slow, and often not possible at all over the networks that field and plant environments actually have.
- Latency and bandwidth. In plant, field and remote settings, bandwidth is limited and the connection drops. Sending every reading to a data center and back adds delay a threat response cannot afford.
- Threats need real time. A spoofed sensor, a device quietly calling home to an attacker, a temperature excursion, a pump drifting out of tolerance. Batch analytics tell you what happened yesterday. Real-time analytics let you stop it now.
The answer is to decide deliberately what gets handled at the device and what gets streamed up for correlation and action.
Managing data at the edge
The first and best filter is the device itself. Processing data where it is generated means only what matters travels upstream.
- Filter. Drop the noise before it costs anything to move.
- Summarize. Turn high-frequency streams into useful summaries.
- Transform. Convert units, normalize formats, translate between protocols.
- Check locally. Run lightweight models on the device to flag anomalies on the spot.
Keep raw high-frequency data and any immediate safety reaction local, where milliseconds count. Send summaries, events and detected anomalies upstream. That cuts bandwidth and cost and shortens the delay on decisions that have to happen on site.
Edge buffering keeps devices working and queuing data through a dropped connection, then syncing when the link returns, so a lost connection never means lost data or a blind spot. MQTT handles lightweight telemetry and OPC UA handles industrial equipment.
The edge is also attack surface. A compromised gateway is both a sensor and a risk, so device identity, hardened gateways, encrypted transport and least-privilege access are part of the build rather than a later phase.
On the Microsoft stack, Azure IoT Edge and Azure IoT Operations run this processing in containers at the edge, managed through Azure Arc, and feed cleanly into the pipeline below.
From the edge into Fabric
Once the edge has filtered and summarized, Fabric Real-Time Intelligence ingests, stores and acts on the stream in one governed environment.
| Component | Its role |
|---|---|
| Azure IoT Hub or MQTT | Secure device connectivity and the entry point for data from the edge. |
| Eventstream | Ingestion and transformation in flight, filtering, summarizing and joining, then routing to several destinations. |
| Eventhouse | Storage and querying of live and historical data in under a second, with retention set per table. |
| Real-Time Hub | The catalog of every stream and event across the workspace. |
| Real-time dashboards | Operational views that refresh themselves. |
| Activator | The engine that fires an alert or an action when a condition is met. |
Two things make this efficient. Eventstream collapses what used to be a stack of separate tools into one canvas. And a single stream can feed several destinations at once: the Eventhouse for real-time detection, a Lakehouse for history and model training, and Activator for immediate action.
Detecting and deciding in real time
- Detect with queries. Kusto Query Language runs sub-second queries over the live stream: threshold breaches, patterns and sequences, correlation across many devices, and built-in anomaly detection that flags deviations without hand-tuned thresholds. The same language works over the historical data, so is this normal is answered against a real baseline.
- Score with models. Models score events as they arrive, for device health, intrusion or fraud, and plain-language querying lets analysts build detections far faster than writing queries by hand.
- Act automatically. Activator turns a condition into an action. A detected anomaly can fire an immediate alert, or trigger a response: isolate a device, open a ticket, run a workflow.
- See it live. Dashboards give the security or operations team an always-current view of the fleet.
The net effect is that a threat the edge flags and Fabric confirms becomes an action the same minute, rather than a line in tomorrow’s report.
Security and governance
A real-time threat pipeline has to be secure end to end. The data it carries is sensitive, and the pipeline itself is a target.
- Secure the path. Device identity, encrypted transport, least-privilege access and hardened gateways protect the stream from device to cloud. In sensitive environments, Private Link keeps the ingestion path off the public internet.
- Govern the data. OneLake provides a single governed store, Purview handles cataloging, lineage and sensitivity labelling, and role-based access with row-level security makes sure the right people see the right readings. Retention set per table balances real-time need against cost.
- Two kinds of threat, one pipeline. The same architecture catches cyber threats, a compromised device or unusual outbound traffic, and operational ones, equipment failure or a safety excursion.
- Feed the security team. Integration with security operations, including Microsoft Sentinel, means these signals reach the analysts rather than dying at the device.
The architecture and how to build it
End to end the flow is straightforward. Devices and sensors feed an edge gateway that filters, summarizes and checks locally. That reaches Fabric through IoT Hub or MQTT, and Eventstream transforms and routes it. The Eventhouse stores it and runs the detections while a Lakehouse keeps the history. Dashboards show it and Activator acts on it, with the same signals feeding the security operations center.
| Phase | Focus | Key activities |
|---|---|---|
| Assess | Define the mission | Identify the devices, the data and the threats to detect, set latency and action requirements, and decide what stays at the edge. |
| Edge design | Manage at the source | Filtering, summarizing and local checks, protocols, device security, and buffering for dropped connections. |
| Fabric build | The real-time core | Connectivity, Eventstream wiring, Eventhouse layout and retention, capacity sizing, and access control. |
| Detection and action | Close the loop | Detections, model scoring, Activator rules, dashboards and security operations integration. |
| Harden and sustain | Govern it | Purview, Private Link, monitoring, retention and capacity tuning, and response runbooks. |
The discipline that matters most is deciding the edge-versus-cloud split deliberately, in the first phase. Decided correctly, everything downstream is faster and cheaper. Decided poorly, the organization is back to transmitting the full raw stream to the cloud.
How Varmoda delivers
Microsoft Fabric and Power BI are core to Varmoda’s stack, so its teams design the pipeline end to end: the edge filtering and local checks, the Eventstream and Eventhouse layout, the detections, and the rules that turn a detection into an action.
Because Varmoda also brings a cybersecurity practice, those detections are built to catch real threats rather than to produce another dashboard. Connected and operational technology are live targets, not hypotheticals.
And because the data these systems carry is sensitive, governance is built in from the start, with delivery United States based and secure, which matters most in the government and critical-infrastructure environments where this architecture is most often deployed.
War Mode here is a sequence: filter at the edge, decide in Fabric, act in seconds. Done well, a threat moving through a device fleet becomes an immediate response rather than an after-action report written once the damage is done.
