logstash-filter-mutate 3.5.4 → 3.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/index.asciidoc +2 -3
- data/lib/logstash/filters/mutate.rb +1 -2
- data/logstash-filter-mutate.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53853b61a143395ded602ed7b065eba14dac85d4135b2135c1c0db541062c6a8
|
|
4
|
+
data.tar.gz: 6a48ec84da666bcc11bef8613f6e8340306c27e39dc4204f2c50cc993c5a2a70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5e4abc14b42d8a8370ed66541c79c27f94a0e26458e70d70c3fb944d4d12f97aeb9d7cb0ad60e6aa2771fe548f473077b9670ab3fdfec4a370654b2624f89ca
|
|
7
|
+
data.tar.gz: cd46fb549dcefc6b00cc51ca19f17ff19dd6ef86a10d26466a637ed1257ba40e93290a12a1afcca129b980286237fee82203c3b009b6df38e7d4b16fdd446995
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 3.5.5
|
|
2
|
+
- Fix: removed code and documentation for already removed 'remove' option. [#161](https://github.com/logstash-plugins/logstash-filter-mutate/pull/161)
|
|
3
|
+
|
|
1
4
|
## 3.5.4
|
|
2
5
|
- DOC: In 'replace' documentation, mention 'add' behavior [#155](https://github.com/logstash-plugins/logstash-filter-mutate/pull/155)
|
|
3
6
|
- DOC: Add warning about #27 [#101](https://github.com/logstash-plugins/logstash-filter-mutate/pull/101)
|
data/docs/index.asciidoc
CHANGED
|
@@ -21,7 +21,7 @@ include::{include_path}/plugin_header.asciidoc[]
|
|
|
21
21
|
==== Description
|
|
22
22
|
|
|
23
23
|
The mutate filter allows you to perform general mutations on fields. You
|
|
24
|
-
can rename,
|
|
24
|
+
can rename, replace, and modify fields in your events.
|
|
25
25
|
|
|
26
26
|
[id="plugins-{type}s-{plugin}-proc_order"]
|
|
27
27
|
===== Processing order
|
|
@@ -38,13 +38,12 @@ Mutations in a config file are executed in this order:
|
|
|
38
38
|
* capitalize
|
|
39
39
|
* lowercase
|
|
40
40
|
* strip
|
|
41
|
-
* remove
|
|
42
41
|
* split
|
|
43
42
|
* join
|
|
44
43
|
* merge
|
|
45
44
|
* copy
|
|
46
45
|
|
|
47
|
-
|
|
46
|
+
IMPORTANT: Each mutation must be in its own code block if the sequence of operations needs to be preserved.
|
|
48
47
|
|
|
49
48
|
Example:
|
|
50
49
|
[source,ruby]
|
|
@@ -3,7 +3,7 @@ require "logstash/filters/base"
|
|
|
3
3
|
require "logstash/namespace"
|
|
4
4
|
|
|
5
5
|
# The mutate filter allows you to perform general mutations on fields. You
|
|
6
|
-
# can rename,
|
|
6
|
+
# can rename, replace, and modify fields in your events.
|
|
7
7
|
class LogStash::Filters::Mutate < LogStash::Filters::Base
|
|
8
8
|
config_name "mutate"
|
|
9
9
|
|
|
@@ -258,7 +258,6 @@ class LogStash::Filters::Mutate < LogStash::Filters::Base
|
|
|
258
258
|
capitalize(event) if @capitalize
|
|
259
259
|
lowercase(event) if @lowercase
|
|
260
260
|
strip(event) if @strip
|
|
261
|
-
remove(event) if @remove
|
|
262
261
|
split(event) if @split
|
|
263
262
|
join(event) if @join
|
|
264
263
|
merge(event) if @merge
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-filter-mutate'
|
|
4
|
-
s.version = '3.5.
|
|
4
|
+
s.version = '3.5.5'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Performs mutations on fields"
|
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-mutate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.5.
|
|
4
|
+
version: 3.5.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|