logstash-codec-json 2.1.3 → 2.1.4

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: e2651f1dd40d39e6ac257ac9c72b3d2988aa3363
4
- data.tar.gz: 68a3847fb1868ba6945020ff998a5008c8fef9db
3
+ metadata.gz: 80dde972140ccaac4f985592f6e501c12ccf0ff1
4
+ data.tar.gz: c35d05ba0b391046c99cd62b8bbbb53ec714cdb6
5
5
  SHA512:
6
- metadata.gz: 2e05a6e627cf8bd6ad7e78ceda617f11ab1628ada38dcd62c68714825b31110b0b5f2358bd23fd4052628422c06234e422b42888d67cdf69cc6ddc2315c3af8c
7
- data.tar.gz: 05fd59da58c5b6bb31505d635682497dde78ca323f7816285334c7e52d6596ca46ce69b2efdc360d1866fa3b9bd0ebc2f09c07aa8eeba311eb0ef6a8f8046b11
6
+ metadata.gz: fc4ffcc0c81520317c1ab95f1c25ed032762d0858f63ec69b3110b6c448e6f6b1ed19aa3d637cfdcfa8b462b8d5a1ee061bf5e4cc58e8a6f019a8fa75920e767
7
+ data.tar.gz: 7489eb2a616a0e97c52add00f463cda486750f42f3eba193bd31ea83cec7aa13e33e40af301396a3e9f1a5182a52341ff1d75d05adfa1ceaa8597d3b03deffcc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.1.4
2
+ - Made 'Falling back to plain-text' log message an 'info' level log. This was
3
+ 'error' for versions v2.1.0 through v2.1.3 (and was 'info' before that).
4
+
1
5
  # 2.1.3
2
6
  - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
3
7
  # 2.1.2
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Build Status](https://travis-ci.org/logstash-plugins/logstash-codec-json.svg?branch=master)](https://travis-ci.org/logstash-plugins/logstash-codec-json)
3
+ [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-codec-json.svg)](https://travis-ci.org/logstash-plugins/logstash-codec-json)
4
4
 
5
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
6
6
 
@@ -64,7 +64,7 @@ class LogStash::Codecs::JSON < LogStash::Codecs::Base
64
64
  yield LogStash::Event.new("message" => json, "tags" => ["_jsonparsefailure"])
65
65
  end
66
66
  rescue LogStash::Json::ParserError => e
67
- @logger.error("JSON parse failure. Falling back to plain-text", :error => e, :data => json)
67
+ @logger.info("JSON parse failure. Falling back to plain-text", :error => e, :data => json)
68
68
  yield LogStash::Event.new("message" => json, "tags" => ["_jsonparsefailure"])
69
69
  rescue StandardError => e
70
70
  # This should NEVER happen. But hubris has been the cause of many pipeline breaking things
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-json'
4
- s.version = '2.1.3'
4
+ s.version = '2.1.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This codec may be used to decode (via inputs) and encode (via outputs) full JSON messages"
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,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-24 00:00:00.000000000 Z
11
+ date: 2016-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: logstash-core-plugin-api
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
14
20
  requirement: !ruby/object:Gem::Requirement
15
21
  requirements:
16
- - - "~>"
22
+ - - ~>
17
23
  - !ruby/object:Gem::Version
18
24
  version: '1.0'
19
- name: logstash-core-plugin-api
20
25
  prerelease: false
21
26
  type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: logstash-devutils
22
29
  version_requirements: !ruby/object:Gem::Requirement
23
30
  requirements:
24
- - - "~>"
31
+ - - '>='
25
32
  - !ruby/object:Gem::Version
26
- version: '1.0'
27
- - !ruby/object:Gem::Dependency
33
+ version: '0'
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements:
30
- - - ">="
36
+ - - '>='
31
37
  - !ruby/object:Gem::Version
32
38
  version: '0'
33
- name: logstash-devutils
34
39
  prerelease: false
35
40
  type: :development
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
41
  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
42
42
  email: info@elastic.co
43
43
  executables: []
@@ -65,12 +65,12 @@ require_paths:
65
65
  - lib
66
66
  required_ruby_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">="
68
+ - - '>='
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []