logstash-input-file_progress 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/inputs/file_progress.rb +5 -5
- data/logstash-input-file_progress.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: 291540c6f2fc5fa581572587815f657f5d119fd6
|
4
|
+
data.tar.gz: d293e8f8dd2d7d755c31c512e6da205432bf4a25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8989d2bd9550f72c2924c6f43ff54187fc6ee1d6c62d238674f5fe05a53d7ae8c7001a953bdcda2cb657d44ad9154a8595dceafde9bc61a7f4839587f55e27d
|
7
|
+
data.tar.gz: 86767ca40655291d6d86d3b9a59f84e8a4a188861d79caeb60c495f3f0ca31e8f2c0aff8b5f890bed5813d5b8df6395c00bf9966621d53921e97af96308aa7a2
|
@@ -264,10 +264,10 @@ class LogStash::Inputs::FileProgress < LogStash::Inputs::Base
|
|
264
264
|
end
|
265
265
|
|
266
266
|
def process_event(event)
|
267
|
-
event
|
268
|
-
event
|
269
|
-
event
|
270
|
-
event
|
267
|
+
event.set("[@metadata][size]", size) unless size.nil?
|
268
|
+
event.set("[@metadata][pos]", pos) unless pos.nil?
|
269
|
+
event.set("[@metadata][path]", path)
|
270
|
+
event.set("path", path) if !event.include?("path")
|
271
271
|
input.post_process_this(event)
|
272
272
|
end
|
273
273
|
|
@@ -313,7 +313,7 @@ class LogStash::Inputs::FileProgress < LogStash::Inputs::Base
|
|
313
313
|
end # def run
|
314
314
|
|
315
315
|
def post_process_this(event)
|
316
|
-
event
|
316
|
+
event.set("host", @host) if !event.include?("host")
|
317
317
|
decorate(event)
|
318
318
|
@queue << event
|
319
319
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-file_progress'
|
4
|
-
s.version = '3.1.
|
4
|
+
s.version = '3.1.2'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Stream events from files with progress-events."
|
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/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-input-file_progress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Signify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|