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 +4 -4
- data/lib/logstash/outputs/splunk_hec.rb +2 -0
- data/logstash-output-splunk_hec.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c14672b7dad04b433a8d97d3d5a5cf0759b82c0c15e7389973d9cb36c39a6ecd
|
4
|
+
data.tar.gz: 9caf6f6c84f17de54351433f4420910f79a604b562aa7ab9ce7bac02eabc116b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|