logstash-output-thetapoint 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/logstash/outputs/thetapoint.rb +3 -3
- data/logstash-output-thetapoint.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f00264bf093fa080eedeb077ecbb221f6afa1def
|
|
4
|
+
data.tar.gz: 737a44254b1a3f2b028c1976b6bf0588f25471d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05e52599eab119eb6fa3dafb5a41c1ba037b038379dfd43b1e3a58d881e5e96da9678c00b4a709182d685f086ba4973941b664acf4a7034a2ec50d9940cf4765
|
|
7
|
+
data.tar.gz: 38f3f01b22b69dcdb1c1062df39a8836bfbd0104c24599e412e37660734300b83b54ba404d813f20f85e58f5c97489c714d76a55ea5e80ce328d26df0f1d7343
|
data/Gemfile.lock
CHANGED
|
@@ -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}/#{
|
|
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.
|
|
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"
|