diff --git a/templates/td-agent.conf b/templates/td-agent.conf
index c21ed1950e966f49d9f4aceff26d62daa9e975ad..ff15fcc36b2967936379d4c54277838b2a7155e6 100644
--- a/templates/td-agent.conf
+++ b/templates/td-agent.conf
@@ -180,20 +180,18 @@
   tag gitlab.*
 </source>
 {% endif %}
-{% if false %}
 
 <filter **>
   @type grep
   <exclude>
-    key agent
+    key "agent"
     pattern Python-urllib|Uptime|Varnish Health Probe
   </exclude>
   <exclude>
-    key path
-    pattern /server-status\?auto
+    key "path"
+    pattern \/server-status\?auto
   </exclude>
 </filter>
-{% endif %}
 {% if 'logserver' in groups and inventory_hostname in groups.logserver %}
 
 <source>