logstash-input-udp 3.1.0 → 3.1.1
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 +106 -0
- data/logstash-input-udp.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: 425c1427333838773e24c85ccfa0de83425f70e5
|
4
|
+
data.tar.gz: dc80f1f24bf9be7dcec4416fac2c38cdbe5e080c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33326e5878f6137da8be922cd30e0a49a9a5b41462f4c71152127d4bc0f652c9961e8e6287746005e6176618ddf988a529968f1801209bc850f68672e1b222cc
|
7
|
+
data.tar.gz: d72a8c850672a7d69f49e28d11c33be3c4049e6a4c7b12a3ecc05000759c7167f0e1dcc98f200bd6b2c94d9381b4461a7bd65fd2ee19b87909d8965a58465bcd
|
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,106 @@
|
|
1
|
+
:plugin: udp
|
2
|
+
:type: input
|
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
|
+
=== Udp input plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
Read messages as events over the network via udp. The only required
|
24
|
+
configuration item is `port`, which specifies the udp port logstash
|
25
|
+
will listen on for event streams.
|
26
|
+
|
27
|
+
|
28
|
+
[id="plugins-{type}s-{plugin}-options"]
|
29
|
+
==== Udp Input Configuration Options
|
30
|
+
|
31
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
32
|
+
|
33
|
+
[cols="<,<,<",options="header",]
|
34
|
+
|=======================================================================
|
35
|
+
|Setting |Input type|Required
|
36
|
+
| <<plugins-{type}s-{plugin}-buffer_size>> |<<number,number>>|No
|
37
|
+
| <<plugins-{type}s-{plugin}-host>> |<<string,string>>|No
|
38
|
+
| <<plugins-{type}s-{plugin}-port>> |<<number,number>>|Yes
|
39
|
+
| <<plugins-{type}s-{plugin}-queue_size>> |<<number,number>>|No
|
40
|
+
| <<plugins-{type}s-{plugin}-receive_buffer_bytes>> |<<number,number>>|No
|
41
|
+
| <<plugins-{type}s-{plugin}-workers>> |<<number,number>>|No
|
42
|
+
|=======================================================================
|
43
|
+
|
44
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
45
|
+
input plugins.
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
[id="plugins-{type}s-{plugin}-buffer_size"]
|
50
|
+
===== `buffer_size`
|
51
|
+
|
52
|
+
* Value type is <<number,number>>
|
53
|
+
* Default value is `65536`
|
54
|
+
|
55
|
+
The maximum packet size to read from the network
|
56
|
+
|
57
|
+
[id="plugins-{type}s-{plugin}-host"]
|
58
|
+
===== `host`
|
59
|
+
|
60
|
+
* Value type is <<string,string>>
|
61
|
+
* Default value is `"0.0.0.0"`
|
62
|
+
|
63
|
+
The address which logstash will listen on.
|
64
|
+
|
65
|
+
[id="plugins-{type}s-{plugin}-port"]
|
66
|
+
===== `port`
|
67
|
+
|
68
|
+
* This is a required setting.
|
69
|
+
* Value type is <<number,number>>
|
70
|
+
* There is no default value for this setting.
|
71
|
+
|
72
|
+
The port which logstash will listen on. Remember that ports less
|
73
|
+
than 1024 (privileged ports) may require root or elevated privileges to use.
|
74
|
+
|
75
|
+
[id="plugins-{type}s-{plugin}-queue_size"]
|
76
|
+
===== `queue_size`
|
77
|
+
|
78
|
+
* Value type is <<number,number>>
|
79
|
+
* Default value is `2000`
|
80
|
+
|
81
|
+
This is the number of unprocessed UDP packets you can hold in memory
|
82
|
+
before packets will start dropping.
|
83
|
+
|
84
|
+
[id="plugins-{type}s-{plugin}-receive_buffer_bytes"]
|
85
|
+
===== `receive_buffer_bytes`
|
86
|
+
|
87
|
+
* Value type is <<number,number>>
|
88
|
+
* There is no default value for this setting.
|
89
|
+
|
90
|
+
The socket receive buffer size in bytes.
|
91
|
+
If option is not set, the operating system default is used.
|
92
|
+
The operating system will use the max allowed value if receive_buffer_bytes is larger than allowed.
|
93
|
+
Consult your operating system documentation if you need to increase this max allowed value.
|
94
|
+
|
95
|
+
[id="plugins-{type}s-{plugin}-workers"]
|
96
|
+
===== `workers`
|
97
|
+
|
98
|
+
* Value type is <<number,number>>
|
99
|
+
* Default value is `2`
|
100
|
+
|
101
|
+
Number of threads processing packets
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
106
|
+
include::{include_path}/{type}.asciidoc[]
|
data/logstash-input-udp.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-udp'
|
4
|
-
s.version = '3.1.
|
4
|
+
s.version = '3.1.1'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Read messages as events over the network via udp."
|
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-input-udp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
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
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- LICENSE
|
85
85
|
- NOTICE.TXT
|
86
86
|
- README.md
|
87
|
+
- docs/index.asciidoc
|
87
88
|
- lib/logstash/inputs/udp.rb
|
88
89
|
- logstash-input-udp.gemspec
|
89
90
|
- spec/inputs/udp_spec.rb
|