logstash-input-file 4.1.11 → 4.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/filewatch/discoverer.rb +1 -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: f7a99266c87fd0a7279a20334fbcf34844bd15bd5602b1011add91f512cd2816
|
4
|
+
data.tar.gz: 8b913a6f8ccf185dfd0aa325a41f6902c958caf2e496b71c9d5b635d090d383b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd40437784392572ebfd2c0bba20676ae5dfdb3ea3079d706c19e7202c557b55157a614392bd2430b7acee2e875c3ae2d3dd25ac057e2d6e6209c3946a446f8f
|
7
|
+
data.tar.gz: b37cb04b73602dc63b9931810ee93402bde5f2599f937c4b74824168e3f4692442da6d8da5b29f8928131bae172d5a374fb0f74b2139958624525fe4373833ae
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 4.1.12
|
2
|
+
- Fix regression in `exclude` handling. Patterns are matched against the filename, not full path.
|
3
|
+
[Issue #237](https://github.com/logstash-plugins/logstash-input-file/issues/237)
|
4
|
+
|
1
5
|
## 4.1.11
|
2
6
|
- Fixed link to FAQ [#247](https://github.com/logstash-plugins/logstash-input-file/pull/247)
|
3
7
|
|
data/lib/filewatch/discoverer.rb
CHANGED
@@ -35,7 +35,7 @@ module FileWatch
|
|
35
35
|
|
36
36
|
def can_exclude?(watched_file, new_discovery)
|
37
37
|
@exclude.each do |pattern|
|
38
|
-
if watched_file.pathname.fnmatch?(pattern)
|
38
|
+
if watched_file.pathname.basename.fnmatch?(pattern)
|
39
39
|
if new_discovery
|
40
40
|
logger.trace("Discoverer can_exclude?: #{watched_file.path}: skipping " +
|
41
41
|
"because it matches exclude #{pattern}")
|
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.12'
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|