关于新组件创建的通知 [英] Notification on new component creation

查看:62
本文介绍了关于新组件创建的通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Team,

Hello Team,

我有一个要求,我需要在订阅中创建新组件时收到通知(警报或电子邮件)。

I have a requirement wherein I need to get a notification(an alert or email),whenever a new component is created within my subscription.

有没有办法在我的资源组中没有添加任何新组件的情况下实现它?

Is there any way to achieve it without any new component being added in my resource group?

如果没有,那么请建议如何继续相同。

And if no,then please suggest how to proceed for the same.

推荐答案


您可以将订阅链接到日志分析,以便在日志分析中收集所有azure活动。有关详细信息,请参阅  this   article。

You can link your subscription to the log analytics, so that all the azure activity will be collected in log analytics. For more information , please refer this article.


 

 


从日志控制台,您可以查询日志以生成请求的数据。查询快速启动的示例

From the logs console, you can query the logs to generate the requested data. An example of query for quick start

AzureActivity
|where EventSubmissionTimestamp >= ago(7d)
|where OperationName contains "Create" and ActivityStatus == "Succeeded" 
|project OperationName , ActivityStatus , ActivitySubstatus , ResourceGroup , Caller , OperationNameValue
|summarize by ResourceGroup ,OperationName , ActivityStatus , Caller



使用此查询,您可以创建要通知的提醒。请通过  this   文章
了解更多信息

Using this query , you can create alert to notify. Please go through this article for more information


这篇关于关于新组件创建的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆