logstash-filter-grok 4.0.2 → 4.0.3
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/filters/grok/timeout_enforcer.rb +1 -1
- data/logstash-filter-grok.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: a852fc411ca1fc227ff50d09380ac04351ea04e9625c8c23de138994c6837413
|
4
|
+
data.tar.gz: 9d26a4892384b13950ec22155d4f94b2e923206f6852f69dc6b1f1482a0a7156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 153db9f752ed851787fcd9c4f8b0b237a784116eab7bcc9a26170e145747e32a7d8ee7aa1f5849f71b8333b5dcf6d56ae21bd2e995fee7d88a5c18cc67095cec
|
7
|
+
data.tar.gz: c3fb66ddbad8c9578a9291a4b6f02770cf2e57d7456339a31c36c91bf6a20455c24919fe5ee731d0b71b06507895e7c42dd35d9336d57aad2f201375ee55d6c7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 4.0.3
|
2
|
+
- Fixed memory leak when run on JRuby 1.x (Logstash 5.x) [#135](https://github.com/logstash-plugins/logstash-filter-grok/issues/135)
|
3
|
+
|
1
4
|
## 4.0.2
|
2
5
|
- Fixed resource leak where this plugin might get double initialized during plugin reload, leaking a thread + some objects
|
3
6
|
|
@@ -56,7 +56,7 @@ class LogStash::Filters::Grok::TimeoutEnforcer
|
|
56
56
|
|
57
57
|
def cancel_timed_out!
|
58
58
|
now = java.lang.System.nanoTime # save ourselves some nanotime calls
|
59
|
-
@threads_to_start_time.
|
59
|
+
@threads_to_start_time.keySet.each do |thread|
|
60
60
|
# Use compute to lock this value
|
61
61
|
@threads_to_start_time.computeIfPresent(thread) do |thread, start_time|
|
62
62
|
if start_time < now && now - start_time > @timeout_nanos
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-filter-grok'
|
4
|
-
s.version = '4.0.
|
4
|
+
s.version = '4.0.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Parses unstructured event data into 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-grok
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|