logstash-input-log-courier 1.2 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/inputs/courier.rb +17 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb580142391f103f680d9b4ac0b3a72595632bbc
|
4
|
+
data.tar.gz: 29aa610ec99bd17bf758c7d6d59d67a83980f644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f9f364db89a8a2195ccc7f6f25a01ff12fc805fcf7a955c49140e1bd28a82bc40b8e26ed1197297ddaed906bc1b37bb27f94d1cab01a362a4319f0fc8e1c15
|
7
|
+
data.tar.gz: 42e9fb0d89285895fb7569d2a105686b8cf9354cfccbcc38bf7d4a264e35089de0fb8e76e86b683353433e77008265381326f640580ab07b6441263fdf4b4c83
|
@@ -59,9 +59,23 @@ module LogStash
|
|
59
59
|
# Max packet size
|
60
60
|
config :max_packet_size, :validate => :number
|
61
61
|
|
62
|
-
#
|
62
|
+
# The size of the internal queue for each peer
|
63
|
+
#
|
64
|
+
# Sent payloads will be dropped when the queue is full
|
65
|
+
#
|
66
|
+
# This setting should max the max_pending_payloads Log Courier
|
67
|
+
# configuration
|
63
68
|
config :peer_recv_queue, :validate => :number
|
64
69
|
|
70
|
+
# Add additional fields to events that identity the peer
|
71
|
+
#
|
72
|
+
# This setting is only effective with the tcp and tls transports
|
73
|
+
#
|
74
|
+
# "peer" identifies the source host and port
|
75
|
+
# "peer_ssl_cn" contains the client certificate hostname for TLS peers
|
76
|
+
# using client certificates
|
77
|
+
config :add_peer_fields, :validate => :boolean
|
78
|
+
|
65
79
|
public
|
66
80
|
|
67
81
|
def register
|
@@ -81,8 +95,10 @@ module LogStash
|
|
81
95
|
curve_secret_key: @curve_secret_key,
|
82
96
|
}
|
83
97
|
|
98
|
+
# Honour the defaults in the LogCourier gem
|
84
99
|
options[:max_packet_size] = @max_packet_size unless @max_packet_size.nil?
|
85
100
|
options[:peer_recv_queue] = @peer_recv_queue unless @peer_recv_queue.nil?
|
101
|
+
options[:add_peer_fields] = @add_peer_fields unless @add_peer_fields.nil?
|
86
102
|
|
87
103
|
require 'log-courier/server'
|
88
104
|
@log_courier = LogCourier::Server.new options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-log-courier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.3'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Woods
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.3'
|
41
41
|
description: Log Courier Input Logstash Plugin
|
42
42
|
email:
|
43
43
|
- devel@jasonwoods.me.uk
|