如何在Azure中记录服务主题消息? [英] how to log service topic messages in azure?

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

问题描述

我找到了一种查询Azure中的AzureActivity日志的方法,以获取对服务总线主题(如添加,重命名,删除)所做的更改的结果集.更改的结果包括诸如TimeGenerated,HttpRequest, ResourceId.但是,这种变化的结果集仅适用于结构性变化.

I found a way to query the AzureActivity Log in Azure to get a result set of changes that were made to Service Bus Topics like add, rename, delete.  The result of changes includes info like TimeGenerated, HttpRequest, ResourceId. But this result set of changes is only for structural changes.

推荐答案

Service Bus服务具有诊断日志,可以将其发送到Log Analytics:

Service Bus service has diagnostic logs which can be send to Log Analytics:

https://docs.microsoft.com/zh-CN/azure/service-bus-messaging/service-bus-diagnostic-logs

https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-diagnostic-logs

我不确定这些日志中的数据是否正是您要寻找的,但这些是您开箱即用的唯一日志.对于Azure活动日志或Service Bus诊断日志中不存在的任何内容,您将必须找到一种摄取该方法的方法 自己在Log Analytics中获取信息.

I am not sure if the data from these logs is what you are looking for but these are the only logs that you get out of the box. For anything that is not present in Azure Activity logs or Service Bus diagnostic logs you will have to find a way to ingest that information in Log Analytics by your own.

将此回复标记为有用的答案.

Mark this reply as answer if it was useful.


这篇关于如何在Azure中记录服务主题消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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