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

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

问题描述

我有一个 api 应用程序托管在 azure 应用程序服务上.对于 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.

用于存储网络服务器日志

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?

推荐答案

已通过应用服务验证团队认为Log Analytics仅在IaaS (VM) 级别支持,PaaS(应用服务)级别.

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

希望我们能尽快将其纳入他们的路线图 - 现在您必须手动将此数据提取到外部日志管理工具中 (Splunk相扑逻辑Azure 数据资源管理器).

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 应用服务 已宣布推出 IIS 应用日志与 Azure Log Analytics 集成的公共预览.

这篇关于如何在 Azure 日志分析上显示 azure 应用服务的 Web 服务器日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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