如何从Azure机器人获取聊天机器人消息日志

问题描述 投票:0回答:1

目前我有一个 Azure 机器人(echo bot(基于 python Azure 机器人 farmwork)),它在 Teams 频道和 Web 测试中完美运行。

尝试从日志中查询没有结果,应用程序洞察已连接。

有任何疑问吗?还有其他选择吗?喜欢连接到日志流

从配置部分仅配置了消息端点,我可以看到应用程序ID

尝试查询

python-3.x azure logging botframework azure-bot-service
1个回答
0
投票

还有其他选择吗?喜欢连接到日志流

  • 首先,您需要重新检查应用程序洞察对您的机器人服务的配置。

enter image description here

  • 请记住一件事,您尝试查询的日志正在被捕获并存储在 Application Insights 中。如果您不确定,您可能需要调整机器人代码中的日志记录配置。

查询:

dependencies
|where timestamp > ago(1h)
|order by timestamp asc

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.