EBernhardson has uploaded a new change for review.

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

Change subject: Update prune.rb to latest 1.4.5 tag
......................................................................

Update prune.rb to latest 1.4.5 tag

The current version of 1.4.5, used in mwv, fails to load the prune.rb
plugin because it does not set a milestone. Update the plugin to the
latest version, @0702069,  which has no functional changes.

Change-Id: Ia8270b6c2291e07ee81dff932ebe11f1b6eefc66
---
M logstash/filters/prune.rb
1 file changed, 7 insertions(+), 6 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/operations/software/logstash/plugins 
refs/changes/93/282993/1

diff --git a/logstash/filters/prune.rb b/logstash/filters/prune.rb
index d85be39..ee821e3 100644
--- a/logstash/filters/prune.rb
+++ b/logstash/filters/prune.rb
@@ -3,11 +3,12 @@
 require "logstash/namespace"
 
 
-# The prune filter is for pruning event data from `@fields` based on 
whitelist/blacklist
+# The prune filter is for pruning event data from @fileds based on 
whitelist/blacklist
 # of field names or their values (names and values can also be regular 
expressions).
 
 class LogStash::Filters::Prune < LogStash::Filters::Base
   config_name "prune"
+  milestone 1
 
   # Trigger whether configation fields and values should be interpolated for
   # dynamic values.
@@ -15,7 +16,7 @@
   config :interpolate, :validate => :boolean, :default => false
 
   # Include only fields only if their names match specified regexps, default 
to empty list which means include everything.
-  # [source,ruby] 
+  # 
   #     filter { 
   #       %PLUGIN% { 
   #         tags            => [ "apache-accesslog" ]
@@ -24,8 +25,8 @@
   #     }
   config :whitelist_names, :validate => :array, :default => []
 
-  # Exclude fields which names match specified regexps, by default exclude 
unresolved `%{field}` strings.
-  # [source,ruby]
+  # Exclude fields which names match specified regexps, by default exclude 
unresolved %{field} strings.
+  #
   #     filter { 
   #       %PLUGIN% { 
   #         tags            => [ "apache-accesslog" ]
@@ -37,7 +38,7 @@
   # Include specified fields only if their values match regexps.
   # In case field values are arrays, the fields are pruned on per array item
   # thus only matching array items will be included.
-  # [source,ruby]
+  # 
   #     filter { 
   #       %PLUGIN% { 
   #         tags             => [ "apache-accesslog" ]
@@ -51,7 +52,7 @@
   # Exclude specified fields if their values match regexps.
   # In case field values are arrays, the fields are pruned on per array item
   # in case all array items are matched whole field will be deleted.
-  # [source,ruby]
+  #
   #     filter { 
   #       %PLUGIN% { 
   #         tags             => [ "apache-accesslog" ]

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia8270b6c2291e07ee81dff932ebe11f1b6eefc66
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/logstash/plugins
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to