diff --git a/ansible/roles/common/templates/conf/output/01-es.conf.j2 b/ansible/roles/common/templates/conf/output/01-es.conf.j2
index c58693866847cc3758b8a9e3aeead41bd888b3ff..9df8350b50e4e44c8696e47e076dd97b37eb66b2 100644
--- a/ansible/roles/common/templates/conf/output/01-es.conf.j2
+++ b/ansible/roles/common/templates/conf/output/01-es.conf.j2
@@ -1,4 +1,4 @@
-<match *.**>
+<match **>
     @type copy
     <store>
        @type elasticsearch
diff --git a/ansible/roles/common/templates/conf/output/02-monasca.conf.j2 b/ansible/roles/common/templates/conf/output/02-monasca.conf.j2
index 6a8824a56c400ac2d9d75a10ff751e9d24e6e6d2..2da4549c071a16cfc0b072e06a2c5be251e1dab1 100644
--- a/ansible/roles/common/templates/conf/output/02-monasca.conf.j2
+++ b/ansible/roles/common/templates/conf/output/02-monasca.conf.j2
@@ -1,4 +1,4 @@
-<match *.**>
+<match **>
     @type copy
     <store>
        @type monasca