且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将Azure存储日志解析为Azure Monitor日志&指标

更新时间:2023-02-14 20:02:40

戴夫,您的应用程序是否位于Azure VM上?或者您是将日志从非Azure应用程序转发到Azure存储中.如果是前者,那么我建议按照以下详细步骤进行操作 这里.基本上,您需要将错误日志转发到Log Analytics工作区中,您可以在其中使用Log Analytics查询语言分析日志.您还可以使用Log Analytics根据您的日志数据,特定的错误代码或 特定日志事件/错误的发生频率.

Hi Dave, does your application sit on an Azure VM? or are you forwarding logs from a non-azure application into Azure Storage.  If the former, then I recommend following the steps detailed here. Basically you will need to forward your error logs into a Log Analytics workspace where you can analyze the logs using log analytics query language. You can also use Log Analytics to create alerts based on yur log data, specific error codes or the frequency of occurrence of a specific log event/error.