logstash-input-file 4.1.5 → 4.1.6
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/lib/filewatch/discoverer.rb +6 -1
- data/lib/jars/filewatch-1.0.1.jar +0 -0
- data/logstash-input-file.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: 52327c9fa0774f1a563698c9db6e9e1b5f6b0abebd7b80674ae4616c800a45b4
|
4
|
+
data.tar.gz: cbf40e29bb2fb480cfd96edab5a2b287a0ad6c3ea18e13a0ada2a6850ed30a25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe35ff00a3b0063c183932d148d4eb9fe46f3e51b1db620cbdaa2db9cc479d6639830469576afde037282662cbda2ecc8c5a96f6c0bf880f4f963f191c54f9f9
|
7
|
+
data.tar.gz: 227fe2d426d7493611946f17b299c2602f9f26da08b90b04f3e75402e61d088e2edaf123bd3fd4d9dc9f8a2fbc3840b432bb9f8e1629a78ce8f8db9d71664a58
|
data/CHANGELOG.md
CHANGED
data/lib/filewatch/discoverer.rb
CHANGED
@@ -63,8 +63,13 @@ module FileWatch
|
|
63
63
|
new_discovery = false
|
64
64
|
watched_file = @watched_files_collection.watched_file_by_path(file)
|
65
65
|
if watched_file.nil?
|
66
|
+
begin
|
67
|
+
path_stat = PathStatClass.new(pathname)
|
68
|
+
rescue Errno::ENOENT
|
69
|
+
next
|
70
|
+
end
|
71
|
+
watched_file = WatchedFile.new(pathname, path_stat, @settings)
|
66
72
|
new_discovery = true
|
67
|
-
watched_file = WatchedFile.new(pathname, PathStatClass.new(pathname), @settings)
|
68
73
|
end
|
69
74
|
# if it already unwatched or its excluded then we can skip
|
70
75
|
next if watched_file.unwatched? || can_exclude?(watched_file, new_discovery)
|
Binary file
|
data/logstash-input-file.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-file'
|
4
|
-
s.version = '4.1.
|
4
|
+
s.version = '4.1.6'
|
5
5
|
s.licenses = ['Apache-2.0']
|
6
6
|
s.summary = "Streams events from files"
|
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-input-file
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.6
|
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-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|