alibaba / higress

🤖 AI Gateway | AI Native API Gateway
https://higress.io
Apache License 2.0
2.9k stars 478 forks source link

higress支持nginx.ingress.kubernetes.io/enable-access-log #928

Open shaoqin178 opened 5 months ago

shaoqin178 commented 5 months ago

Why do you need it?

某个域名大量的请求,产生的日志我们并不关心,需要关闭日志输出,避免filebeat采集到这些日志。

How could it be?

https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#enable-access-log

Other related information

https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#enable-access-log

CH3CHO commented 5 months ago

目前可以参考 Envoy 的官方配置方法:https://github.com/envoyproxy/envoy/issues/5969

是否需要原生支持请 @johnlanni 评估一下。