如何记录Azure Service Bus访问? [英] How can I log Azure Service Bus access?

查看:99
本文介绍了如何记录Azure Service Bus访问?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以记录对Azure Service Bus的访问?我们正在寻找一种方法来记录谁从Azure门户或从外部源(例如API或Service Bus Explorer)在Service Bus中创建/删除主题/订阅/命名空间的人.

Is there a way to log access to Azure Service Bus? We are looking for a way to log who create/delete a topic/subscription/namespace in Service Bus, either from Azure portal or from an external source like an API or Service Bus Explorer.

我们有 Azure活动日志,但是它没有提供外部来源的解决方案.

We have Azure Activity Log, but it doesn't give a solution for external sources.

我们还检查了 Azure诊断日志,也无济于事.

We also checked Azure Diagnostic Logs, it doesn't help either.

推荐答案

Azure Service Bus .NET客户端允许诊断日志记录,您将必须

Azure Service Bus .NET client allows diagnostics logging, you will have to enalbe diagnostics it first. That will log what operations where performed, but not who did _what. This feature would have to be supported by the broker and as far as I know is not available yet. I would also imagine that this feature would be available with Premium tier only.

就个人而言,我很想看到由Azure Service Bus触发的这些事件的事件网格事件.这将需要服务团队来实施.过去曾要求使用此功能,但在 UserVoice .您可以使用以下用于旧版客户端和代理的存储库进行请求.

Personally, I'd love to see Event Grid events for these actions fired by Azure Service Bus. This would need to be implemented by the service team. This feature was requested in the past, but saw no action at UserVoice. You could request it using the following repository used for legacy client and broker.

这篇关于如何记录Azure Service Bus访问?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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