logstash-output-thetapoint 0.1.1 → 0.1.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: 2e400532fad8967b601749b044d9ef5e70f53f3c
4
- data.tar.gz: 02aae0ef8bbd7cd821d7f30294296c6e05f7c11c
3
+ metadata.gz: f00264bf093fa080eedeb077ecbb221f6afa1def
4
+ data.tar.gz: 737a44254b1a3f2b028c1976b6bf0588f25471d9
5
5
  SHA512:
6
- metadata.gz: b70c2c7c26227c078e9b71a6efbcd18a7954818a9fde1809a05bfb8e4a42f789a62a51805e94898643e053e5ca662e6c91befc21b75b337a9084e92ef0da56e7
7
- data.tar.gz: 7157271826b56224e63a383b340b14cbe7f8fcb6a4c1cd6e3e886d63fbb77e74f2eee36b2f2cd8df68d99cfdd8a12afb81c197df18e378c1e714a23f7cf08da9
6
+ metadata.gz: 05e52599eab119eb6fa3dafb5a41c1ba037b038379dfd43b1e3a58d881e5e96da9678c00b4a709182d685f086ba4973941b664acf4a7034a2ec50d9940cf4765
7
+ data.tar.gz: 38f3f01b22b69dcdb1c1062df39a8836bfbd0104c24599e412e37660734300b83b54ba404d813f20f85e58f5c97489c714d76a55ea5e80ce328d26df0f1d7343
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- logstash-output-thetapoint (0.1.1)
4
+ logstash-output-thetapoint (0.1.2)
5
5
  logstash-codec-plain
6
6
  logstash-core (>= 1.4.0, < 2.0.0)
7
7
 
@@ -85,12 +85,12 @@ class LogStash::Outputs::ThetaPoint < LogStash::Outputs::Base
85
85
  if @batch
86
86
  # Stud::Buffer
87
87
  @logger.info("receive: Buffer Event")
88
- buffer_receive(event, @key)
88
+ buffer_receive(event, event.sprintf(@key))
89
89
  return
90
90
  end
91
91
 
92
92
  @logger.info("receive: Send Single Event")
93
- send_data(event.to_json, @key)
93
+ send_data(event.to_json, event.sprintf(@key))
94
94
 
95
95
  end # def receive
96
96
 
@@ -123,7 +123,7 @@ class LogStash::Outputs::ThetaPoint < LogStash::Outputs::Base
123
123
 
124
124
  begin
125
125
  @logger.info("Submit start", :now => Time.now.rfc2822)
126
- uri = "/#{@path}/#{@key}"
126
+ uri = "/#{@path}/#{key}"
127
127
  response = @http.request_post(uri, post_data)
128
128
  @logger.info("Submit end", :now => Time.now.rfc2822)
129
129
  @logger.info("response", :response => response)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-thetapoint'
3
- s.version = "0.1.1"
3
+ s.version = "0.1.2"
4
4
  s.licenses = ["Apache License (2.0)"]
5
5
  s.summary = "This thetapoint output does nothing."
6
6
  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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-thetapoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ThetaPoint