logstash-filter-oui 3.0.0-java → 3.0.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +10 -1
- data/docs/index.asciidoc +70 -0
- data/logstash-filter-oui.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: 315e45db3886354f8941d27d8e1bdf3fb29fd8e1
|
4
|
+
data.tar.gz: 28975eca6ff7dd233e58a34fe5849d92dbd4ddf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f2a5d74aa51858b7b43b1a9f5886527776c62807b324977df8c0805de2774766bc594356748d77e323f453fe40b0e41b647e4fd863f05041d9652ab101f3d0d
|
7
|
+
data.tar.gz: 9d24a8ffd7ab38cfd5ce46423f5905923121a8664ab682a7916b31011c7c576e980fc0b8e1832426542fcf192df569b024e66515fa9eb02e2b4ea773c21bdb15
|
data/Gemfile
CHANGED
@@ -1,2 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
-
|
2
|
+
|
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,70 @@
|
|
1
|
+
:plugin: oui
|
2
|
+
:type: filter
|
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
|
+
=== Oui filter plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
Logstash filter to parse OUI data from MAC addresses
|
24
|
+
|
25
|
+
[id="plugins-{type}s-{plugin}-options"]
|
26
|
+
==== Oui Filter 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}-source>> |<<string,string>>|No
|
34
|
+
| <<plugins-{type}s-{plugin}-target>> |<<string,string>>|No
|
35
|
+
|=======================================================================
|
36
|
+
|
37
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
38
|
+
filter plugins.
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
[id="plugins-{type}s-{plugin}-source"]
|
43
|
+
===== `source`
|
44
|
+
|
45
|
+
* Value type is <<string,string>>
|
46
|
+
* Default value is `"message"`
|
47
|
+
|
48
|
+
Setting the config_name here is required. This is how you
|
49
|
+
configure this filter from your Logstash config.
|
50
|
+
|
51
|
+
filter {
|
52
|
+
example {
|
53
|
+
message => "My message..."
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
The source field to parse
|
58
|
+
|
59
|
+
[id="plugins-{type}s-{plugin}-target"]
|
60
|
+
===== `target`
|
61
|
+
|
62
|
+
* Value type is <<string,string>>
|
63
|
+
* Default value is `"oui"`
|
64
|
+
|
65
|
+
The target field to place all the data
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
70
|
+
include::{include_path}/{type}.asciidoc[]
|
data/logstash-filter-oui.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-filter-oui'
|
4
|
-
s.version = '3.0.
|
4
|
+
s.version = '3.0.1'
|
5
5
|
s.platform = 'java'
|
6
6
|
s.licenses = ['Apache-2.0']
|
7
7
|
s.summary = "Logstash filter to parse OUI data from MAC addresses"
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
|
14
14
|
# Files
|
15
|
-
s.files = Dir[
|
15
|
+
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
|
16
16
|
# Tests
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
18
18
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-oui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: java
|
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
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- LICENSE
|
86
86
|
- NOTICE.TXT
|
87
87
|
- README.md
|
88
|
+
- docs/index.asciidoc
|
88
89
|
- lib/logstash/filters/oui.rb
|
89
90
|
- logstash-filter-oui.gemspec
|
90
91
|
- spec/filters/oui_spec.rb
|