]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/logstash/templates/default/logstash.conf.erb
Remove message field from rails log after parsing it
[chef.git] / cookbooks / logstash / templates / default / logstash.conf.erb
index 68c9fd9210d9b589c5f4a5b2b01b1b2714a3126e..e4546bb013b98e87923b06ac3807e94d942d5791 100644 (file)
@@ -18,6 +18,9 @@ filter {
     json {
       source => "message"
     }
+    mutate {
+      remove_field => [ "message" ]
+    }
   }
 }