Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to suppress http access log entries for distinct endpoints and/or sources #534

Closed
tkrop opened this issue Jan 5, 2018 · 2 comments

Comments

@tkrop
Copy link
Member

tkrop commented Jan 5, 2018

The (http) access log entries in skipper contain any request. It is not possible to filter logging to hide certain requests, e.g. cluster internal request, or filter requests to certain endpoints, e.g. health endpoints. This can be helpful to reduce log volume to important information.

@lmineiro
Copy link
Contributor

lmineiro commented Jan 5, 2018

We could also consider optional sampling. In hight traffic situations a small percentage of the requests should be statistically enough for many use cases.

@szuecs
Copy link
Member

szuecs commented Jul 7, 2020

With Predicates and https://opensource.zalando.com/skipper/reference/filters/#enableaccesslog or https://opensource.zalando.com/skipper/reference/filters/#disableaccesslog you can already do this.
For log sampling I will create another issue, but you could duplicate the routes and having on each duplicated one a Traffic(0.1) predicate and an enableAccessLog() filter to log 10% of traffic.
#1472

@szuecs szuecs closed this as completed Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants