# Filtering access logs

**URL:** <https://www.ruby-forum.com/t/filtering-access-logs/220423>\
**Category:** NGINX\
**Created:** [June 8, 2012, 7:39pm UTC](https://www.ruby-forum.com/t/filtering-access-logs/220423 "2012-06-08T19:39:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [June 8, 2012, 7:39pm UTC](https://www.ruby-forum.com/t/filtering-access-logs/220423/1 "2012-06-08T19:39:05Z")

</div>

I have an nginx server that terminates SSL and subsequently logs  
usernames and passwords send in the URL string in the logs. There is a  
particular compliance regulation that required me to scrub these out  
with xxxx or some set of arbitrary characters before they are written  
to disk. Is there a facility or way of doing this with nginx or some  
add on?
