logstash-filter-aggregate 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/lib/logstash/filters/aggregate.rb +3 -3
- data/logstash-filter-aggregate.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f880dab9eca9eca31f5634938e973fd0bc7d739b
|
4
|
+
data.tar.gz: e2f233c165cd6f944c7f0cc63968e2bb6428f694
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cbf67652af3eaf6547302b701a6aec844e7ca1a82b722a83ca048724a3ce252e1e5ed2bbf5c2fee8533f8fd1ab387791e7b7749fed33a6f745c5650bc57632e
|
7
|
+
data.tar.gz: ec57ad6ef531427c1c43800340f8352b44d954aba39bf3f786bf315a7f843458f8252f846f60b4c2c9312c0e94293bc2ec47aad0ad5088b291326083cd00ab76
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 2.1.2
|
2
|
+
- bugfix: clarify default timeout behaviour : by default, timeout is 1800s
|
3
|
+
|
1
4
|
## 2.1.1
|
2
5
|
- bugfix: when "aggregate_maps_path" option is defined in more than one aggregate filter, raise a Logstash::ConfigurationError
|
3
6
|
- bugfix: add support for logstash hot reload feature
|
data/README.md
CHANGED
@@ -148,7 +148,7 @@ Default value: `false`
|
|
148
148
|
- **timeout:**
|
149
149
|
The amount of seconds after a task "end event" can be considered lost.
|
150
150
|
When timeout occurs for a task, The task "map" is evicted.
|
151
|
-
|
151
|
+
If no timeout is defined, default timeout will be applied : 1800 seconds.
|
152
152
|
|
153
153
|
- **aggregate_maps_path:**
|
154
154
|
The path to file where aggregate maps are stored when logstash stops and are loaded from when logstash starts.
|
@@ -166,8 +166,8 @@ class LogStash::Filters::Aggregate < LogStash::Filters::Base
|
|
166
166
|
#
|
167
167
|
# When timeout occurs for a task, The task "map" is evicted.
|
168
168
|
#
|
169
|
-
#
|
170
|
-
config :timeout, :validate => :number, :required => false
|
169
|
+
# If no timeout is defined, default timeout will be applied : 1800 seconds.
|
170
|
+
config :timeout, :validate => :number, :required => false
|
171
171
|
|
172
172
|
# The path to file where aggregate maps are stored when logstash stops
|
173
173
|
# and are loaded from when logstash starts.
|
@@ -207,7 +207,7 @@ class LogStash::Filters::Aggregate < LogStash::Filters::Base
|
|
207
207
|
|
208
208
|
@@mutex.synchronize do
|
209
209
|
# define eviction_instance
|
210
|
-
if (
|
210
|
+
if (!@timeout.nil? && (@@eviction_instance.nil? || @timeout < @@eviction_instance.timeout))
|
211
211
|
@@eviction_instance = self
|
212
212
|
@logger.info("Aggregate, timeout: #{@timeout} seconds")
|
213
213
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-filter-aggregate'
|
3
|
-
s.version = '2.1.
|
3
|
+
s.version = '2.1.2'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "The aim of this filter is to aggregate information available among several events (typically log lines) belonging to a same task, and finally push aggregated information into final task event."
|
6
6
|
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-aggregate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-06-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|