logstash-output-fluentd 0.1.0 → 0.9.0

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: 3d69f4d74b09b7e98569821ba699b1be85f8cb16
4
- data.tar.gz: f61c8d67511575cc38093650328aea9cfae78720
3
+ metadata.gz: 679afb9f5878c0415bc009c1646cd53523aee1fb
4
+ data.tar.gz: cb3748f11018e40426689b4834f628a61759b506
5
5
  SHA512:
6
- metadata.gz: 4bc80bc0817edb3dd8732286e3f83563f5a53999e9a4ba5eec5c2251eb97a0d9ec00c4f802d9b7e3f890d0b6d7183e6bc754a9df78c5c49af45e0c4117d399e7
7
- data.tar.gz: cf209ee9d5008f4bf467c5d66165de01301fd8680b3fb497890701e8586a8d58a69e4ac0ed6bfb8510d235957715472b8a9e010f3d8d3ce91131b0e7d5fb74f0
6
+ metadata.gz: 56fafcc907032356900d3b757210a9955361c42ec236812ccf5e7fa6b3edbd05a74a40225c63e14a57b4a1dce22c285c41948c9bc0ca23f18784861c585164d1
7
+ data.tar.gz: 3e4025a683a19e502b76987810dfe8aa4e991ae102f21386e2a8d715d8f153cfdb9a252d9994b6be9cf62019991a3197784205c14c7c22b1a855f4a423ba36a3
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Logstash Plugin for Tresure Data service
1
+ # Logstash Plugin for Fluentd
2
2
 
3
3
  [![Build
4
4
  Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-example-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-example-unit/)
@@ -11,8 +11,6 @@ require "msgpack"
11
11
 
12
12
  require_relative "./fluentd/version"
13
13
 
14
- # Logstash output plugin to send data to Treasure Data service.
15
-
16
14
  class LogStash::Event
17
15
  def to_msgpack(packer=nil)
18
16
  # LogStash objects (ex: LogStash::Timestamp) are impossible to serialize by msgpack
@@ -36,23 +34,15 @@ class LogStash::Outputs::Fluentd < LogStash::Outputs::Base
36
34
  config :tag, validate: :string, default: 'logstash'
37
35
  # config :use_ssl, validate: :boolean, default: false # TODO: true
38
36
 
39
- config :connect_timeout, validate: :number, default: nil
40
- config :read_timeout, validate: :number, default: nil
41
- config :send_timeout, validate: :number, default: nil
37
+ # config :connect_timeout, validate: :number, default: nil
38
+ # config :read_timeout, validate: :number, default: nil
39
+ # config :send_timeout, validate: :number, default: nil
42
40
 
43
41
  config :flush_size, validate: :number, default: 50 # 50 records
44
42
  config :flush_interval, validate: :number, default: 5 # 5 seconds
45
43
 
46
44
  public
47
45
  def register
48
- client_opts = {
49
- ssl: @use_ssl,
50
- connect_timeout: @connect_timeout,
51
- read_timeout: @read_timeout,
52
- send_timeout: @send_timeout
53
- }
54
- # @client = TreasureData::Client.new(@apikey.value, client_opts)
55
-
56
46
  buffer_initialize(
57
47
  max_items: @flush_size,
58
48
  max_interval: @flush_interval,
@@ -1,17 +1,17 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-fluentd'
3
- s.version = "0.1.0"
4
- s.licenses = ["Apache License (2.0)"]
5
- s.summary = "Logstash plugin to forward data to fluentd nodes"
3
+ s.version = "0.9.0"
4
+ s.licenses = ["Apache License (2.0)"]
5
+ s.summary = "Logstash plugin to forward data to fluentd nodes"
6
6
  s.description = "This gem is a logstash plugin to forward data from logstash to fluentd. This gem is not a stand-alone program."
7
- s.authors = ["Satoshi Tagomori"]
8
- s.email = "tagomoris@gmail.com"
9
- s.homepage = "https://github.com/tagomoris/logstash-output-fluentd"
7
+ s.authors = ["Satoshi Tagomori"]
8
+ s.email = "tagomoris@gmail.com"
9
+ s.homepage = "https://github.com/tagomoris/logstash-output-fluentd"
10
10
  s.require_paths = ["lib"]
11
11
 
12
12
  # Files
13
13
  s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
14
- # Tests
14
+ # Tests
15
15
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
16
16
 
17
17
  # Special flag to let us know this is actually a logstash plugin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-fluentd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi Tagomori
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-29 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -100,7 +100,6 @@ files:
100
100
  - NOTICE.TXT
101
101
  - README.md
102
102
  - lib/logstash/outputs/fluentd.rb
103
- - lib/logstash/outputs/fluentd/version.rb
104
103
  - logstash-output-fluentd.gemspec
105
104
  - spec/outputs/fluentd_spec.rb
106
105
  homepage: https://github.com/tagomoris/logstash-output-fluentd
@@ -1,6 +0,0 @@
1
- # encoding: utf-8
2
- require "logstash/outputs/base"
3
-
4
- class LogStash::Outputs::Fluentd < LogStash::Outputs::Base
5
- VERSION = "0.1.0"
6
- end