简体   繁体   English

基于输入遥测数据的 azure 流分析警报

[英]azure stream analytics alert based on input telemetry data

How can we send an alert message to table storage if one of the telemetry inputs is greater than the threshold set in Reference JSON?如果遥测输入之一大于参考 JSON 中设置的阈值,我们如何向表存储发送警报消息? How would one convert threshold will comparison to "Alert output"?一个转换阈值将如何与“警报输出”进行比较?

for this you need to define the telemetry input as stream, and the threshold input as reference data.为此,您需要将遥测输入定义为流,将阈值输入定义为参考数据。 You can use either blob storage or SQL for reference data Then do a reference data JOIN as specified here: https://docs.microsoft.com/en-us/stream-analytics-query/reference-data-join-azure-stream-analytics Let me know if you have any further question.您可以使用 blob 存储或 SQL 作为参考数据然后按照此处指定的方式执行参考数据 JOIN: https : //docs.microsoft.com/en-us/stream-analytics-query/reference-data-join-azure-stream -analytics如果您有任何其他问题,请告诉我。

Thanks, Jean-Sebastien (Azure Stream Analytics).谢谢,Jean-Sebastien(Azure 流分析)。

假设您的参考 JSON 存储在 SQL 中,您可以使用 GetArrayElements 来转换参考数据。可能与您正在尝试的最接近,但在这里我使用 SQL 数据库作为参考而不是 blob 存储。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM