logstash-output-jut 0.3 → 0.3.1

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: a9eb2e11117af72725830240a0c80dd9ac967620
4
- data.tar.gz: e0302a18404130b4c21ced3836e7bb91c8d8c03f
3
+ metadata.gz: f9a4a278a760ea20154a8ee3a59b80794e8e714a
4
+ data.tar.gz: a85ef644869876c27552c01ef9a37d0b43517fa9
5
5
  SHA512:
6
- metadata.gz: d9a292c278f0430a56e0f0f1aa10a4605a357bbe2ef2f24672095bd25213edb94a9d85144c0534fd3a3b192542d52ca218a442b5f592238e17db20602e23345f
7
- data.tar.gz: d389e4ddb0ca8af5da51525ffbe9e680996130a685eea176dd8f629a4ee716f1c01b423bcacddcf9a7d16d86ee4dab21ad9de58ab6d3862209ad92f6f9925786
6
+ metadata.gz: 40a21ced643d8792b48af8e81bf68975be06ed8b4fa3e6b98e8b489d79fb5821ad1b66102e391b62486f0f2e1abf8fc3dfd8477c0cab7d6f031d4705492f98f9
7
+ data.tar.gz: aa05092873305ffe5f06983beb28abe47397de23fc097ae6acad2f60946e5fea09c8ef64771628d6fb25053158d2ae48f35738b80e17b75dc741c6922464c625
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  require "logstash/namespace"
3
- require "json"
3
+ require "logstash/json"
4
4
  require "thread"
5
5
  require "work_queue"
6
6
  require "net/https"
@@ -109,7 +109,7 @@ class LogStash::Outputs::HTTPBatcher
109
109
  puts "posting #{tosend.size} records"
110
110
  end
111
111
 
112
- request.body = tosend.to_json
112
+ request.body = LogStash::Json.dump(tosend)
113
113
  response = connection.request request
114
114
 
115
115
  status = response.code
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-jut'
3
- s.version = "0.3"
3
+ s.version = "0.3.1"
4
4
  s.licenses = ["Apache License (2.0)"]
5
5
  s.summary = "sends records to a Jut data engine"
6
6
  s.description = "logstash output plugin that sends records to a Jut data engine"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-jut
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jut, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-24 00:00:00.000000000 Z
11
+ date: 2015-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core