fluent-plugin-papertrail 0.2.5 → 0.2.6
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/fluent-plugin-papertrail.gemspec +1 -1
- data/lib/fluent/plugin/out_papertrail.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b79fd8b51f35463dd10172bfdc7b14a0e48f6344
|
|
4
|
+
data.tar.gz: '0630185850bcc226f7c847ac368984395ece655f'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f211a18ef1ac629128494817bd045bf77891a527114945f1384cdc3a74d609f716573390119a1585f1c9d65a118f105610b6bd44e75ea0f619415aedebfbf697
|
|
7
|
+
data.tar.gz: 58f78fcfaa5b9588eb723d377f77521e2ed8ac62e6de893d713bb37cdbf7ee8ab752e466845c28ecf78506fa9746debc4b93acaf405f4eff86b28e57cac866dd
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "fluent-plugin-papertrail"
|
|
7
|
-
spec.version = "0.2.
|
|
7
|
+
spec.version = "0.2.6"
|
|
8
8
|
spec.authors = ["Jonathan Lozinski", "Alex Ouzounis", "Chris Rust"]
|
|
9
9
|
spec.email = ["jonathan.lozinski@solarwinds.com", "alex.ouzounis@solarwinds.com", "chris.rust@solarwinds.com"]
|
|
10
10
|
|
|
@@ -13,6 +13,7 @@ module Fluent
|
|
|
13
13
|
# overriding default flush_interval (60 sec) from Fluent::BufferedOutput
|
|
14
14
|
config_param :flush_interval, :time, default: 1
|
|
15
15
|
config_param :discard_unannotated_pod_logs, :bool, default: false
|
|
16
|
+
config_param :maximum_syslog_packet_size, :integer, default: 99990
|
|
16
17
|
|
|
17
18
|
# register as 'papertrail' fluent plugin
|
|
18
19
|
Fluent::Plugin.register_output('papertrail', self)
|
|
@@ -115,7 +116,7 @@ module Fluent
|
|
|
115
116
|
else
|
|
116
117
|
begin
|
|
117
118
|
# send it
|
|
118
|
-
@sockets[socket_key].puts packet.assemble
|
|
119
|
+
@sockets[socket_key].puts packet.assemble(max_size=@maximum_syslog_packet_size)
|
|
119
120
|
rescue => e
|
|
120
121
|
err_msg = "Error writing to #{socket_key}: #{e}"
|
|
121
122
|
# socket failed, reset to nil to recreate for the next write
|
|
@@ -125,4 +126,4 @@ module Fluent
|
|
|
125
126
|
end
|
|
126
127
|
end
|
|
127
128
|
end
|
|
128
|
-
end
|
|
129
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-papertrail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Lozinski
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2018-
|
|
13
|
+
date: 2018-09-12 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: fluentd
|