logstash-filter-mutate 3.5.3 → 3.5.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 587a9f7cf3dcffcf1e5da205f346757a2cadb152355e8a5875786db76f1744b7
4
- data.tar.gz: aebf9138588e966faa0ea10400473ef009bb6af43e7e8a03a00902d86ca45da7
3
+ metadata.gz: 5879507831fc15a821590956915fa601801af67d70636e26b1faf6652a743962
4
+ data.tar.gz: f387463d9e4ebfe44ce007461d0313ce7e172ab8260ca6775d0a95531b6480a3
5
5
  SHA512:
6
- metadata.gz: 7193aa164fba5286cce8d33eae0575af9f1c94d61c952edb90ccf0b14fc080b4aac0cb33a90a7206b61ed8f04cab7dc2239d843860601c7acd98f94a4f4c3e74
7
- data.tar.gz: 4724a7e02686459741deed8125ba9595725e4939f3d328259b60b1dd80c4d902245228e4fc8335ecd984c9484e4e81083068a165ab63082f50c3b36e47c15c01
6
+ metadata.gz: 4a2c3817cba6d8f6f02aae7f4c5dcc890dab263db38f7d8fc30e74ac735f20837c663c5c5913cf9c9743a9946f738f7f8b088aef047c606d37773e8cff78df54
7
+ data.tar.gz: 69a235e0bf9e8434ce8b5fe06c990053ef83649885bce61c375d7a1d5dc42ea54d4a9fdb88fd8de6a4fdb99620b97f9a5de0214a7f12f5ba6373bf77bbae0aae
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.5.4
2
+ - DOC: In 'replace' documentation, mention 'add' behavior [#155](https://github.com/logstash-plugins/logstash-filter-mutate/pull/155)
3
+ - DOC: Add warning about #27 [#101](https://github.com/logstash-plugins/logstash-filter-mutate/pull/101)
4
+
1
5
  ## 3.5.3
2
6
  - DOC: Expand description and behaviors for `rename` option [#156](https://github.com/logstash-plugins/logstash-filter-mutate/pull/156)
3
7
 
data/docs/index.asciidoc CHANGED
@@ -44,7 +44,7 @@ Mutations in a config file are executed in this order:
44
44
  * merge
45
45
  * copy
46
46
 
47
- You can control the order by using separate mutate blocks.
47
+ Warning: Each mutation must be in its own code block if the sequence of operations needs to be preserved.
48
48
 
49
49
  Example:
50
50
  [source,ruby]
@@ -287,7 +287,8 @@ Example:
287
287
  * Value type is <<hash,hash>>
288
288
  * There is no default value for this setting.
289
289
 
290
- Replace the value of a field with a new value. The new value can include `%{foo}` strings
290
+ Replace the value of a field with a new value, or add the field if it
291
+ doesn't already exist. The new value can include `%{foo}` strings
291
292
  to help you build a new value from other parts of the event.
292
293
 
293
294
  Example:
@@ -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.3'
4
+ s.version = '3.5.4'
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.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-30 00:00:00.000000000 Z
11
+ date: 2021-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement