logstash-output-stdout 3.1.3 → 3.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
  SHA256:
3
- metadata.gz: e0d6a050662f8603b35ea5ccc069d75553cc0cd10798622a88956bd5c47ae2cf
4
- data.tar.gz: af717c82c016a31e75ec943c2b2f4e14434110d28f167a4bdbcf46310ad36a57
3
+ metadata.gz: 20583cd1e2a1d056571642303eab91c70ddb843118e9862c8cd3183e385b9fc4
4
+ data.tar.gz: b0884de8fd74d6ab1ae2ce364690232d6a2a651f3bdd08b9ace1b07dd892cb4f
5
5
  SHA512:
6
- metadata.gz: a56bffaf635990c445e78803e6605671f69300ce665ef965662f1b6cfb19608af8b0333117fa06244f364b544f26d055db75090c094c6de0e050978fe98cb4b3
7
- data.tar.gz: 2d5a13cf8e94605b006497f3f0118be4fa30c19daa1ac721852682277c288cc28ccffc5e9023dfdd58b7bfe27e72906e7e1c8f4383ddfc2f8cb768d530ff1a81
6
+ metadata.gz: d5fdfa4c31f96e0b5b0f44fcce2d80c109d43ab550334b86dd79b38db91d5fdbfbb1b7d861a66e6594b874c4e1182bbf69f7f9b3a195a168847594a637174fb2
7
+ data.tar.gz: 42c0a457c946003ba1dc80c5c45532b7d125d4038a740d536ad334effbc4781882f8fcc361786249a04159a88b7909b3771356f4f5922f9d8e4b8c5961efc352
@@ -1,3 +1,6 @@
1
+ ## 3.1.4
2
+ - Docs: Set the default_codec doc attribute.
3
+
1
4
  ## 3.1.3
2
5
  - Update gemspec summary
3
6
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012-2018 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
@@ -1,5 +1,6 @@
1
1
  :plugin: stdout
2
2
  :type: output
3
+ :default_codec: rubydebug
3
4
 
4
5
  ///////////////////////////////////////////
5
6
  START - GENERATED VARIABLES, DO NOT EDIT!
@@ -37,10 +38,11 @@ Useful codecs include:
37
38
 
38
39
  `rubydebug`: outputs event data using the ruby "awesome_print"
39
40
  http://rubygems.org/gems/awesome_print[library]
41
+ This is the default codec for stdout.
40
42
 
41
43
  [source,ruby]
42
44
  output {
43
- stdout { codec => rubydebug }
45
+ stdout { }
44
46
  }
45
47
 
46
48
  `json`: outputs event data in structured JSON format
@@ -58,3 +60,5 @@ but it does support the <<plugins-{type}s-{plugin}-common-options>>.
58
60
 
59
61
  [id="plugins-{type}s-{plugin}-common-options"]
60
62
  include::{include_path}/{type}.asciidoc[]
63
+
64
+ :default_codec!:
@@ -17,12 +17,11 @@ require "logstash/namespace"
17
17
  #
18
18
  # Useful codecs include:
19
19
  #
20
- # `rubydebug`: outputs event data using the ruby "awesome_print"
21
- # http://rubygems.org/gems/awesome_print[library]
20
+ # `plain`: outputs event data with no delimiting between events
22
21
  #
23
22
  # [source,ruby]
24
23
  # output {
25
- # stdout { codec => rubydebug }
24
+ # stdout { codec => plain }
26
25
  # }
27
26
  #
28
27
  # `json`: outputs event data in structured JSON format
@@ -35,7 +34,7 @@ class LogStash::Outputs::Stdout < LogStash::Outputs::Base
35
34
  config_name "stdout"
36
35
  concurrency :single
37
36
 
38
- default :codec, "line"
37
+ default :codec, "rubydebug"
39
38
 
40
39
  def register; end # must be overriden
41
40
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-stdout'
4
- s.version = '3.1.3'
4
+ s.version = '3.1.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Prints events to the standard output"
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"
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  # Gem dependencies
23
23
  s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60.1", "< 2.99"
24
- s.add_runtime_dependency 'logstash-codec-line'
24
+ s.add_runtime_dependency 'logstash-codec-rubydebug'
25
25
 
26
26
  s.add_development_dependency 'logstash-devutils'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-stdout
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.3
4
+ version: 3.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: 2017-11-13 00:00:00.000000000 Z
11
+ date: 2018-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -36,7 +36,7 @@ dependencies:
36
36
  - - ">="
37
37
  - !ruby/object:Gem::Version
38
38
  version: '0'
39
- name: logstash-codec-line
39
+ name: logstash-codec-rubydebug
40
40
  prerelease: false
41
41
  type: :runtime
42
42
  version_requirements: !ruby/object:Gem::Requirement