logstash-output-splunk_hec 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: 9acf5738a6f95a638b41287b71bcaec122a713a144ddfdbe4e8eacb58bfd95ca
4
- data.tar.gz: 050a2753e156c7cb195701b1460605f767e6351bfedaacd56214f27b955b4a43
3
+ metadata.gz: c14672b7dad04b433a8d97d3d5a5cf0759b82c0c15e7389973d9cb36c39a6ecd
4
+ data.tar.gz: 9caf6f6c84f17de54351433f4420910f79a604b562aa7ab9ce7bac02eabc116b
5
5
  SHA512:
6
- metadata.gz: 7c0cc2d47d092a10fedf6ad8831be42eb3fd84ee173f871d6eb5dc5d546d6015539763f56f908b2e0bbe96082f5f9fedda5a6c54d8584a99611f00fe86392a49
7
- data.tar.gz: cd7d3d98d661ee1da85893c8444a0df15da2504c9ce52d70ada5357e8da458e3fa3c8bed85c6afaaee7af91a05ffe9bf8a389e4d99a69b4f6f6f49eff084df99
6
+ metadata.gz: 6d51195b98e59f54941102b4879eb2d9c52cb45e4e5665f67a055b78fa08a8d9e4d9f42a2c619ac38043144111a710c0e1ddb28db609b4d489a8d2a6a0ce77ae
7
+ data.tar.gz: 0b6a3b1cbafcac4e49f3ac87c5cae1a89d1e2e014a5418ce6faec402ab1367d0a85f42380fef37a79b1c2e3c88937939a5ba0aa0f7cff31ba2aa68ab49efeed6
@@ -82,6 +82,8 @@ class LogStash::Outputs::SplunkHec < LogStash::Outputs::Base
82
82
  request["Content-Type"] = "application/json"
83
83
  request.body = batch_to_send.map(&:to_json).join("\n")
84
84
 
85
+ @logger.warn("Request body to be sent to Splunk:", :request_body => request.body)
86
+
85
87
  @retry_count.times do |attempt|
86
88
  begin
87
89
  response = @http.request(request)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-splunk_hec'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Logstash Output Plugin for SplunkHec'
6
6
  s.authors = ['Elisha Mawson']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-splunk_hec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elisha Mawson