简体   繁体   English

在Azure Kubernetes服务(AKS)上部署的Web应用程序的访问日志生成

[英]Access Log generation of deployed web application on Azure Kubernetes Service (AKS)

I have deployed a web application on Azure Kubernetes Service (AKS). 我已经在Azure Kubernetes服务(AKS)上部署了Web应用程序。 I want to generate access logs (which include HTTP method, path, request body, if possible HTTP headers, and timestamp) of deployed web application and not of Kubernetes Cluster, Nodes and Pods. 我想生成已部署的Web应用程序而不是Kubernetes Cluster,Nodes和Pod的访问日志(包括HTTP方法,路径,请求正文,可能的HTTP标头和时间戳)。 I have used Application Gateway, but it is creating logs of Kubernetes Cluster, Nodes or Pods. 我已经使用了Application Gateway,但是它正在创建Kubernetes集群,节点或Pod的日志。 I have also used Log Analytics on Azure, but it is also not giving me required logs. 我还在Azure上使用过Log Analytics,但它也没有提供所需的日志。

You need your application to generate those logs in some form. 您需要您的应用程序以某种形式生成那些日志。 kubernetes doesnt provide networking logs. kubernetes不提供网络日志。 Easiest way is outputting to stdout, or, perhaps using Application insights. 最简单的方法是输出到标准输出,或者使用应用程序见解。 Another option is using something like Zipkin or Jaeger to capture those. 另一种选择是使用Zipkin或Jaeger之类的东西来捕获它们。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从部署在 Azure Kubernetes 服务 (AKS) 中作为 pod 的 Asp.net Core Docker 容器访问 Azure KeyVault? - How to access Azure KeyVault from Asp.net Core Docker container deployed in Azure Kubernetes Service (AKS) as pod? 无法在 Azure Kubernetes 服务 (AKS) 中启动 Web 应用程序(asp.net 应用程序)。 获取站点无法访问错误 - Unable to launch the web application (asp.net app) in the Azure Kubernetes service (AKS). Getting site is not reachable error 我如何运行在Azure Kubernetes服务(AKS)内部署到Virtual Kubelet的dockerized'Hello World'Web作业 - How do I run a dockerized 'Hello World' web job deployed into Virtual Kubelet within Azure Kubernetes Service (AKS) 了解Azure Kubernetes服务(AKS) - Understanding Azure Kubernetes Service (AKS) 有没有办法使用 AKS(Azure Kubernetes 服务)来管理部署在 iotedge 设备上的模块? - Is there a way to manage modules deployed on iotedge device by using AKS(Azure Kubernetes Service)? Azure Kubernetes 服务 (AKS) 和主节点池 - Azure Kubernetes Service (AKS) and the primary node pool 错误:在 Azure Kubernetes 服务 (AKS) 中轮换证书 - Error: Rotate certificates in Azure Kubernetes Service (AKS) Azure Kubernetes服务(AKS)保留VM? - Azure Kubernetes Service (AKS) Reserve VMs? Azure Kubernetes 服务 (AKS) 的高可用性/弹性 - High Availability/Resiliency with Azure Kubernetes Service (AKS) Azure Kubernetes 服务 (AKS) 节点池调整大小 - Azure Kubernetes Service (AKS) nodepool resizing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM