Currently I use the ats_generic_config.custom_log_format='url=%<cquuc>' to log the request url. The result will be like 'url=http://example.com:4080/abc?aa=AA&bb=BB&cc=CC'. However, the cc parameter contains some sensitive data and I want to strip this field while keep other parameters untouched when logging. I want the logging result to be like 'url=http:ABC.com:4080/abc?aa=AA&bb=BB'. Is there any ATS setting can achieve this result?
Apache Traffic Server: Ignoring specific parameter in url query when logging
200 Views Asked by Hard Mode At
1
That wipe filter's function: