如何在Azure日志分析上显示Azure App服务的Web服务器日志? [英] How to display azure app service's web server log on Azure log Analytics?

查看:585
本文介绍了如何在Azure日志分析上显示Azure App服务的Web服务器日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在azure App服务上托管了一个api应用程序.对于Web服务器日志(iis日志),我已经从Azure门户打开了Web服务器日志记录.请看下面的截图.

I have an api application hosted on azure App services. For the web server log (iis logs) I've turned on web server logging from Azure portal. Look at the screenshot below.

用于存储Web服务器日志记录

For storing web server logging

仅允许将服务器日志存储在Azure blob容器中.按照配置,日志按预期存储在Blob容器中.现在,我想使用这些日志显示在Azure Log Analytics上.

Server Logs are allowed to be stored on the Azure blob containers only. As per the configuration the logs are stored on blob container as expected. Now I want to use these logs to be displayed on Azure Log Analytics.

我在Azure Web门户的Log Analytics中具有以下存储配置.

I've the following storage configurations on Log Analytics in Azure Web portal.

在Log Analytics资源管理器中,我可以查看Web服务器以外的所有其他来源的日志(iis日志).我在这里想念的是什么?

On Log Analytics explorer I can view logs from all other sources except the web server (iis logs). What I'm missing here?

推荐答案

已通过App验证服务团队,仅在 IaaS (VM)级别上支持 Log Analytics ,在 PaaS 上不支持 >(应用程序服务)级别.

Verified with App Services team that Log Analytics is only supported at the IaaS (VM) level, not at PaaS (App Service) level.

希望我们能尽快在他们的路线图上找到它-现在,您必须手动将这些数据吸收到外部日志管理工具中( Splunk Sumo Logic

Hopefully we can get this on their roadmap soon - for now you have to manually ingest this data into an external log management tool (Splunk, Sumo Logic, Azure Data Explorer).

Azure App Service 已宣布 查看全文

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