logstash-output-lumberjack 3.1.2 → 3.1.3
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/Gemfile +8 -1
- data/docs/index.asciidoc +101 -0
- data/logstash-output-lumberjack.gemspec +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 997f6ef3aa36626eba6a63d804a145a962fc6c76
|
4
|
+
data.tar.gz: 7b713f2bb480e4782a38a1af5b21720860362394
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66ae46e4a8843945f9ab1c6b4698254a984bc20e2330ed1b457ebc4e7770d3be630f362ad076a5e9888313dc197c0c099f9f6cc001161e77bafa6214aaab8155
|
7
|
+
data.tar.gz: d034283a95724dc608a6800d59b02f5318133e24a7c4802c0b21cf377a5e2f3b7f81246d3a57a4b771c8006be40ba32e0adc8e84c60a32419d05e81db186a993
|
data/Gemfile
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in logstash-mass_effect.gemspec
|
4
3
|
gemspec
|
4
|
+
|
5
|
+
logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
|
6
|
+
use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
|
7
|
+
|
8
|
+
if Dir.exist?(logstash_path) && use_logstash_source
|
9
|
+
gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
|
10
|
+
gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
|
11
|
+
end
|
data/docs/index.asciidoc
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
:plugin: lumberjack
|
2
|
+
:type: output
|
3
|
+
|
4
|
+
///////////////////////////////////////////
|
5
|
+
START - GENERATED VARIABLES, DO NOT EDIT!
|
6
|
+
///////////////////////////////////////////
|
7
|
+
:version: %VERSION%
|
8
|
+
:release_date: %RELEASE_DATE%
|
9
|
+
:changelog_url: %CHANGELOG_URL%
|
10
|
+
:include_path: ../../../../logstash/docs/include
|
11
|
+
///////////////////////////////////////////
|
12
|
+
END - GENERATED VARIABLES, DO NOT EDIT!
|
13
|
+
///////////////////////////////////////////
|
14
|
+
|
15
|
+
[id="plugins-{type}-{plugin}"]
|
16
|
+
|
17
|
+
=== Lumberjack output plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
[id="plugins-{type}s-{plugin}-options"]
|
26
|
+
==== Lumberjack Output Configuration Options
|
27
|
+
|
28
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
29
|
+
|
30
|
+
[cols="<,<,<",options="header",]
|
31
|
+
|=======================================================================
|
32
|
+
|Setting |Input type|Required
|
33
|
+
| <<plugins-{type}s-{plugin}-flush_size>> |<<number,number>>|No
|
34
|
+
| <<plugins-{type}s-{plugin}-hosts>> |<<array,array>>|Yes
|
35
|
+
| <<plugins-{type}s-{plugin}-idle_flush_time>> |<<number,number>>|No
|
36
|
+
| <<plugins-{type}s-{plugin}-port>> |<<number,number>>|Yes
|
37
|
+
| <<plugins-{type}s-{plugin}-ssl_certificate>> |a valid filesystem path|Yes
|
38
|
+
|=======================================================================
|
39
|
+
|
40
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
41
|
+
output plugins.
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
[id="plugins-{type}s-{plugin}-flush_size"]
|
46
|
+
===== `flush_size`
|
47
|
+
|
48
|
+
* Value type is <<number,number>>
|
49
|
+
* Default value is `1024`
|
50
|
+
|
51
|
+
To make efficient calls to the lumberjack output we are buffering events locally.
|
52
|
+
if the number of events exceed the number the declared `flush_size` we will
|
53
|
+
send them to the logstash server.
|
54
|
+
|
55
|
+
[id="plugins-{type}s-{plugin}-hosts"]
|
56
|
+
===== `hosts`
|
57
|
+
|
58
|
+
* This is a required setting.
|
59
|
+
* Value type is <<array,array>>
|
60
|
+
* There is no default value for this setting.
|
61
|
+
|
62
|
+
list of addresses lumberjack can send to
|
63
|
+
|
64
|
+
[id="plugins-{type}s-{plugin}-idle_flush_time"]
|
65
|
+
===== `idle_flush_time`
|
66
|
+
|
67
|
+
* Value type is <<number,number>>
|
68
|
+
* Default value is `1`
|
69
|
+
|
70
|
+
The amount of time since last flush before a flush is forced.
|
71
|
+
|
72
|
+
This setting helps ensure slow event rates don't get stuck in Logstash.
|
73
|
+
For example, if your `flush_size` is 100, and you have received 10 events,
|
74
|
+
and it has been more than `idle_flush_time` seconds since the last flush,
|
75
|
+
Logstash will flush those 10 events automatically.
|
76
|
+
|
77
|
+
This helps keep both fast and slow log streams moving along in
|
78
|
+
near-real-time.
|
79
|
+
|
80
|
+
[id="plugins-{type}s-{plugin}-port"]
|
81
|
+
===== `port`
|
82
|
+
|
83
|
+
* This is a required setting.
|
84
|
+
* Value type is <<number,number>>
|
85
|
+
* There is no default value for this setting.
|
86
|
+
|
87
|
+
the port to connect to
|
88
|
+
|
89
|
+
[id="plugins-{type}s-{plugin}-ssl_certificate"]
|
90
|
+
===== `ssl_certificate`
|
91
|
+
|
92
|
+
* This is a required setting.
|
93
|
+
* Value type is <<path,path>>
|
94
|
+
* There is no default value for this setting.
|
95
|
+
|
96
|
+
ssl certificate to use
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
101
|
+
include::{include_path}/{type}.asciidoc[]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-lumberjack'
|
4
|
-
s.version = '3.1.
|
4
|
+
s.version = '3.1.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Send events using the lumberjack protocol"
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.require_paths = ["lib"]
|
12
12
|
|
13
13
|
# Files
|
14
|
-
s.files = Dir[
|
14
|
+
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
|
15
15
|
|
16
16
|
# Tests
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-lumberjack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,6 +112,7 @@ files:
|
|
112
112
|
- LICENSE
|
113
113
|
- NOTICE.TXT
|
114
114
|
- README.md
|
115
|
+
- docs/index.asciidoc
|
115
116
|
- lib/logstash/outputs/lumberjack.rb
|
116
117
|
- logstash-output-lumberjack.gemspec
|
117
118
|
- spec/outputs/lumberjack_spec.rb
|