logstash-codec-json_stream 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f139c6c6288fd48811d138546e72b7c172e4c76
4
- data.tar.gz: a27785bee26ce029a6ce6a28d45a04d85750199c
3
+ metadata.gz: c0e43af36dd5cac97f6d09ef5cb84974e1d3892d
4
+ data.tar.gz: 518a4e627e794a2235f484efac865884b9ad1c92
5
5
  SHA512:
6
- metadata.gz: bea1ff89d17b91b7f75be9b326568967b826c196f7608643e843db4e160aca6049c5561de9eb81ce433f08bbbacae7a821170c1db5b56e06234161bb7bff685d
7
- data.tar.gz: 95fbaa6505fb63bcce99e80365f2d208e63809c2554ae517ce295d5c496a745eb11f5d47ffb703b38f6ad9ee6bd9966ea8ca65cf3821999b787e237a6e49bafa
6
+ metadata.gz: 0c9686b8e0ef66c0a42456382ad4c0526b3807aeb3a39e52d0529e66f06519141b485b3d746027370c333ae8416c73d886d6e0c1c8dc133dd9462f47e1541e6f
7
+ data.tar.gz: 6786835c54bb2af7e91cfe41232595bcc5baa044633b6ae0b411698d366d9dc8243207e3a98d8aee032232878581c79135a38c6d6fdcd964140b293993e73cdf
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
1
  ## 0.0.1
2
2
  - Forked from Json_lines codec by elastic @elastic: Thank you
3
3
  - Added bracket counter to extract jsons.
4
+ ## 0.0.2
5
+ - Add empty flush
@@ -52,10 +52,7 @@ class LogStash::Codecs::JSONStream < LogStash::Codecs::Base
52
52
  end
53
53
 
54
54
  def flush(&block)
55
- remainder = @buffer.flush
56
- if !remainder.empty?
57
- parse(@converter.convert(remainder), &block)
58
- end
55
+ @logger.debug("empty flush method -- nothing to do")
59
56
  end
60
57
 
61
58
  private
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-json_stream'
4
- s.version = '0.0.1'
4
+ s.version = '0.0.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Reads and writes non JSON Streams"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-json_stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Herweg