<p>I have a kubernetes cluster with running pods. In order to monitor and troubleshoot the infrastructure, I want to implement a centralized logging solution so all incoming and outgoing HTTP requests will be logged within one place.</p>

<p>For the incoming requests this is not a problem at all, I can use nginx log from ingress controller and present it.</p>

<p>I also understand that I can log outgoing requests inside the application I run in pod, but the problem is that applications from outside developers are also used and it may not contain logging implementation.</p>

<p>As for the outgoing requests, there is no any solution provided by default if I understand it right. I have explored k8s logging and k8s audit, but it does not provide such feature.</p>

<p>Probably, I need some network sniffer, but it is quite a low-level solution for such problem as I can see. So, the question is: is there any out-of-the-box implementation for such demand?</p>

<p>Thanks!</p>

<p>Take a look at a service mesh solution like <a href="https://istio.io" rel="nofollow noreferrer">Istio</a> or <a href="https://linkerd.io" rel="nofollow noreferrer">Linkerd</a> as well as tracing solutions like <a href="https://uber.github.io/jaeger/" rel="nofollow noreferrer">Jaeger</a> or <a href="https://zipkin.io" rel="nofollow noreferrer">Zipkin</a>. With these you can build to have full observability on how information flows in/out and through your kube cluster</p>
