Remove message field from rails log after parsing it
authorTom Hughes <tom@compton.nu>
Fri, 24 Jul 2015 18:10:17 +0000 (19:10 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 24 Jul 2015 18:10:17 +0000 (19:10 +0100)
cookbooks/logstash/templates/default/logstash.conf.erb

index 68c9fd9..e4546bb 100644 (file)
@@ -18,6 +18,9 @@ filter {
     json {
       source => "message"
     }
+    mutate {
+      remove_field => [ "message" ]
+    }
   }
 }