BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/298381

Change subject: logstash: Remove normalize_fields fitler
......................................................................

logstash: Remove normalize_fields fitler

Follow up to I638d88e1d874fdb8be211bd74a1e36998d42dc09 that removes the
filter introduced in 99dd186 to correct type mappings that vary from
application to application. These fields and all others not in the
explicit mappings are now indexed as strings via mapping rules in the
default mapping template for logstash-* indices.

Change-Id: Ibe1fcac7805a814d116288da3ce211143855cab1
---
D files/logstash/filter-normalize_fields.conf
M manifests/role/logstash.pp
2 files changed, 0 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/81/298381/1

diff --git a/files/logstash/filter-normalize_fields.conf 
b/files/logstash/filter-normalize_fields.conf
deleted file mode 100644
index 9e992e5..0000000
--- a/files/logstash/filter-normalize_fields.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-filter {
-  mutate {
-    convert => {
-      "pid" => "integer"
-      "line" => "integer"
-    }
-    remove_field => [ "timestamp" ]
-  }
-}
diff --git a/manifests/role/logstash.pp b/manifests/role/logstash.pp
index 336ee51..3cc2ebf 100644
--- a/manifests/role/logstash.pp
+++ b/manifests/role/logstash.pp
@@ -120,11 +120,6 @@
         priority => 70,
     }
 
-    logstash::conf { 'filter_normalize_fields':
-        source   => 'puppet:///files/logstash/filter-normalize_fields.conf',
-        priority => 70,
-    }
-
     logstash::conf { 'filter_de_dot':
         source   => 'puppet:///files/logstash/filter-de_dot.conf',
         priority => 70,

-- 
To view, visit https://gerrit.wikimedia.org/r/298381
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe1fcac7805a814d116288da3ce211143855cab1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BryanDavis <bda...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to