logstash-filter-mutate 3.5.5 → 3.5.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53853b61a143395ded602ed7b065eba14dac85d4135b2135c1c0db541062c6a8
4
- data.tar.gz: 6a48ec84da666bcc11bef8613f6e8340306c27e39dc4204f2c50cc993c5a2a70
3
+ metadata.gz: b2e5b32e8796c3dc7709a89d2e345fbd720f4c144dc90150833e357c052473b6
4
+ data.tar.gz: ce9ac9d9dc6b3ea1e87e3628c6f7a3725aa4defaea47feffbbfbc966824c8113
5
5
  SHA512:
6
- metadata.gz: f5e4abc14b42d8a8370ed66541c79c27f94a0e26458e70d70c3fb944d4d12f97aeb9d7cb0ad60e6aa2771fe548f473077b9670ab3fdfec4a370654b2624f89ca
7
- data.tar.gz: cd46fb549dcefc6b00cc51ca19f17ff19dd6ef86a10d26466a637ed1257ba40e93290a12a1afcca129b980286237fee82203c3b009b6df38e7d4b16fdd446995
6
+ metadata.gz: 24571cc6195435dc6edfc23cd3c4abae6c6041f77acc5749c5e944ad10f2ed71457b89bbc8c152d836855460ee3b8b0ddbb82139d4b4f1c398f2e9602005161a
7
+ data.tar.gz: 2be971ad1a39c3e86a6af402c3a08710db26c86fecb7e8a28878bb87ca4e1cb7f72eb7d4290f49079af78252dd3165c17928e0f5d5da7aaf069bf11beb2476f3
data/CHANGELOG.md CHANGED
@@ -1,12 +1,18 @@
1
+ ## 3.5.7
2
+ - Clarify that `split` and `join` also support strings [#164](https://github.com/logstash-plugins/logstash-filter-mutate/pull/164)
3
+
4
+ ## 3.5.6
5
+ - [DOC] Added info on maintaining precision between Ruby float and Elasticsearch float [#158](https://github.com/logstash-plugins/logstash-filter-mutate/pull/158)
6
+
1
7
  ## 3.5.5
2
8
  - Fix: removed code and documentation for already removed 'remove' option. [#161](https://github.com/logstash-plugins/logstash-filter-mutate/pull/161)
3
9
 
4
10
  ## 3.5.4
5
- - DOC: In 'replace' documentation, mention 'add' behavior [#155](https://github.com/logstash-plugins/logstash-filter-mutate/pull/155)
6
- - DOC: Add warning about #27 [#101](https://github.com/logstash-plugins/logstash-filter-mutate/pull/101)
11
+ - [DOC] In 'replace' documentation, mention 'add' behavior [#155](https://github.com/logstash-plugins/logstash-filter-mutate/pull/155)
12
+ - [DOC] Note that each mutate must be in its own code block as noted in issue [#27](https://github.com/logstash-plugins/logstash-filter-mutate/issues/27). Doc fix [#101](https://github.com/logstash-plugins/logstash-filter-mutate/pull/101)
7
13
 
8
14
  ## 3.5.3
9
- - DOC: Expand description and behaviors for `rename` option [#156](https://github.com/logstash-plugins/logstash-filter-mutate/pull/156)
15
+ - [DOC] Expand description and behaviors for `rename` option [#156](https://github.com/logstash-plugins/logstash-filter-mutate/pull/156)
10
16
 
11
17
  ## 3.5.2
12
18
  - Fix: ensure that when an error occurs during registration, we use the correct i18n key to propagate the error message in a useful manner [#154](https://github.com/logstash-plugins/logstash-filter-mutate/pull/154)
@@ -22,7 +28,7 @@ the operations are now aborted and a configurable tag is added to the event [#13
22
28
  - Added ability to directly convert from integer and float to boolean [#127](https://github.com/logstash-plugins/logstash-filter-mutate/pull/127)
23
29
 
24
30
  ## 3.3.4
25
- - Changed documentation to clarify execution order and to provide workaround
31
+ - [DOC] Changed documentation to clarify execution order and to provide workaround
26
32
  [#128](https://github.com/logstash-plugins/logstash-filter-mutate/pull/128)
27
33
 
28
34
  ## 3.3.3
data/docs/index.asciidoc CHANGED
@@ -100,6 +100,14 @@ Convert a field's value to a different type, like turning a string to an
100
100
  integer. If the field value is an array, all members will be converted.
101
101
  If the field is a hash no action will be taken.
102
102
 
103
+ .Conversion insights
104
+ [NOTE]
105
+ ================================================================================
106
+ The values are converted using Ruby semantics.
107
+ Be aware that using `float` and `float_eu` converts the value to a double-precision 64-bit IEEE 754 floating point decimal number.
108
+ In order to maintain precision due to the conversion, you should use a `double` in the Elasticsearch mappings.
109
+ ================================================================================
110
+
103
111
  Valid conversion targets, and their expected behaviour with different inputs are:
104
112
 
105
113
  * `integer`:
@@ -192,7 +200,8 @@ Example:
192
200
  * Value type is <<hash,hash>>
193
201
  * There is no default value for this setting.
194
202
 
195
- Join an array with a separator character. Does nothing on non-array fields.
203
+ Join an array with a separator character or string.
204
+ Does nothing on non-array fields.
196
205
 
197
206
  Example:
198
207
  [source,ruby]
@@ -304,8 +313,8 @@ Example:
304
313
  * Value type is <<hash,hash>>
305
314
  * There is no default value for this setting.
306
315
 
307
- Split a field to an array using a separator character. Only works on string
308
- fields.
316
+ Split a field to an array using a separator character or string.
317
+ Only works on string fields.
309
318
 
310
319
  Example:
311
320
  [source,ruby]
@@ -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.5'
4
+ s.version = '3.5.7'
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.5
4
+ version: 3.5.7
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-05 00:00:00.000000000 Z
11
+ date: 2023-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.1.6
129
+ rubygems_version: 3.2.33
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Performs mutations on fields