logstash-input-file 4.4.3 → 4.4.4
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/docs/index.asciidoc +0 -10
- data/lib/filewatch/read_mode/handlers/read_zip_file.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: 318b69d75d8239cbc9287eac35038a576c48c8bd106e0841161d95320d262d81
|
4
|
+
data.tar.gz: 6e15365687edf5a185071708df3c56bdc341e67c76f6c0e4faabb516cf142bd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 547e151e76062bc384d7e40fdfbc4cc79310d642c60aa0fbc2ff27971b820bb94979f78f3ef2515b2a1cff979bc9052c9202e7250257a1328ca4de97721b5da1
|
7
|
+
data.tar.gz: 4e6b547db17a8bc96d8741089d5c0d6b93e3169cc6b847a7133d3cbaf3de2b766c21c6683b71f7f8f6fe6150f2568ef160580391a8eee64a5825b6534df61162
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 4.4.4
|
2
|
+
- Fixes gzip file handling in read mode when run on JDK12+, including JDK17 that is bundled with Logstash 8.4+ [#312](https://github.com/logstash-plugins/logstash-input-file/pull/312)
|
3
|
+
|
1
4
|
## 4.4.3
|
2
5
|
- Fixes read mode to restart the read from reference stored in sincedb in case the file wasn't completely consumed. [#307](https://github.com/logstash-plugins/logstash-input-file/pull/307)
|
3
6
|
|
data/docs/index.asciidoc
CHANGED
@@ -9,11 +9,6 @@ START - GENERATED VARIABLES, DO NOT EDIT!
|
|
9
9
|
:release_date: %RELEASE_DATE%
|
10
10
|
:changelog_url: %CHANGELOG_URL%
|
11
11
|
:include_path: ../../../../logstash/docs/include
|
12
|
-
|
13
|
-
ifeval::["{versioned_docs}"=="true"]
|
14
|
-
:branch: %BRANCH%
|
15
|
-
:ecs_version: %ECS_VERSION%
|
16
|
-
endif::[]
|
17
12
|
///////////////////////////////////////////
|
18
13
|
END - GENERATED VARIABLES, DO NOT EDIT!
|
19
14
|
///////////////////////////////////////////
|
@@ -538,9 +533,4 @@ Supported values: `us` `usec` `usecs`, e.g. "600 us", "800 usec", "900 usecs"
|
|
538
533
|
[NOTE]
|
539
534
|
`micro` `micros` and `microseconds` are not supported
|
540
535
|
|
541
|
-
ifeval::["{versioned_docs}"=="true"]
|
542
|
-
:branch: current
|
543
|
-
:ecs_version: current
|
544
|
-
endif::[]
|
545
|
-
|
546
536
|
:default_codec!:
|
@@ -29,7 +29,7 @@ module FileWatch module ReadMode module Handlers
|
|
29
29
|
gzip_stream = GZIPInputStream.new(file_stream)
|
30
30
|
decoder = InputStreamReader.new(gzip_stream, "UTF-8")
|
31
31
|
buffered = BufferedReader.new(decoder)
|
32
|
-
while (line = buffered.readLine(
|
32
|
+
while (line = buffered.readLine())
|
33
33
|
watched_file.listener.accept(line)
|
34
34
|
# can't quit, if we did then we would incorrectly write a 'completed' sincedb entry
|
35
35
|
# what do we do about quit when we have just begun reading the zipped file (e.g. pipeline reloading)
|
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.4.
|
4
|
+
s.version = '4.4.4'
|
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.4.
|
4
|
+
version: 4.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|