-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
help request: How to filter HEAD requests when using file-logger? #9596
Comments
https://apisix.apache.org/docs/apisix/plugins/file-logger/ You may need |
i think
is arg foo is bar , can log the response body but what I want is that if the method is a head request, the log is not recorded |
FYI it is not supported in APISIX yet. IMHO, filtering, aggregation, count and other analysis operation can be further done based on the raw log data. If we do more restriction conditions on logging, it may lose the control of observability. Recommend you filter and aggregate logs with other tools and OLAP system. : ) |
in nginx, we can
|
I think you will have to patch apisix for this use case. |
I want to push mr to apisix, but where should I start to solve this problem? Can you provide some ideas? |
@shreemaan-abhishek want help~ |
@spacewander hi , can file-logger support example:
only filter_expr is true , can log |
@monkeyDluffy6017 PTAL, thanks |
@monkeyDluffy6017 hi, please look look, thanks~ |
LGTM |
Description
many head request , i want to filter it
Environment
apisix version
): 3.3.0uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: