logstash-codec-json_lines 3.2.1 → 3.2.2
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/lib/logstash/codecs/json_lines.rb +1 -1
- data/logstash-codec-json_lines.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: b6144dd055fd15fde7daf27092041711f2a7ca16057cca37a5744ca665d37482
|
|
4
|
+
data.tar.gz: 8ea744258a3705fc9a0fe88f56e93a4bbde4bae76e8d163bc2134746356560d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba3dd43f634c7d5dc216e8f361d3b086172d8350cce52704926ecdf9eec5506e256adc5b6e05bb3265f93056cf6417f9e02f94ab0dc155cae1c67f5305a57413
|
|
7
|
+
data.tar.gz: 905e268a78ff9c47ce2bf9cb92a540d66a5f2bb270e2fc10d8052e823e9054ebf8ceff98b26dcf7dd6234b898a0e66e7cdaa2752f7bda4808731c49976d981eb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 3.2.2
|
|
2
|
+
- Fix: updated the way to check if the `decode_size_limit_bytes` has been explicitly customised. [#47](https://github.com/logstash-plugins/logstash-codec-json_lines/pull/47)
|
|
3
|
+
|
|
1
4
|
## 3.2.1
|
|
2
5
|
- Raise the default value of `decode_size_limit_bytes` up to 512 MB. [#46](https://github.com/logstash-plugins/logstash-codec-json_lines/pull/46)
|
|
3
6
|
|
|
@@ -57,7 +57,7 @@ class LogStash::Codecs::JSONLines < LogStash::Codecs::Base
|
|
|
57
57
|
public
|
|
58
58
|
|
|
59
59
|
def register
|
|
60
|
-
if decode_size_limit_bytes
|
|
60
|
+
if original_params['decode_size_limit_bytes'].nil?
|
|
61
61
|
deprecation_logger.deprecated "The default value for `decode_size_limit_bytes`, currently at 512Mb, will be lowered in a future version to prevent Out of Memory errors from abnormally large messages or missing delimiters. Please set a value that reflects the largest expected message size (e.g. 20971520 for 20Mb)"
|
|
62
62
|
end
|
|
63
63
|
@buffer = FileWatch::BufferedTokenizer.new(@delimiter, @decode_size_limit_bytes)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-codec-json_lines'
|
|
4
|
-
s.version = '3.2.
|
|
4
|
+
s.version = '3.2.2'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Reads and writes newline-delimited JSON"
|
|
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-codec-json_lines
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-09-
|
|
11
|
+
date: 2024-09-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|