This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Ingress] Service/Upstream name in the log #1750
Comments
@edouardKaiser no because nginx does not provide a variable with that information.
|
Works like a charm, thanks. I'm surprised no one was missing that information in the logs. |
@edouardKaiser awesome. This change will be included in the next release. |
k8s-github-robot
pushed a commit
that referenced
this issue
Sep 19, 2016
Automatic merge from submit-queue [nginx-ingress-controller] Add the name of the upstream in the log fixes #1750
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a way to get the service (or upstream) name logged in the NGINX log_format ?
We are trying to export the NGINX logs into Elasticsearch, but we are only interested by the logs of particular applications. Right now, it's all mixed, there's no way to differentiate which pod/service is targeted. Sure, the targeted upstream address gets logged, but that does not help to process the log.
The text was updated successfully, but these errors were encountered: