logstash-filter-useragent 3.1.1-java → 3.1.3-java
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/CHANGELOG.md +6 -0
- data/Gemfile +8 -1
- data/docs/index.asciidoc +7 -6
- data/lib/logstash-filter-useragent_jars.rb +1 -1
- data/logstash-filter-useragent.gemspec +2 -2
- data/vendor/jar-dependencies/org/logstash/filters/logstash-filter-useragent/{3.1.1/logstash-filter-useragent-3.1.1.jar → 3.1.3/logstash-filter-useragent-3.1.3.jar} +0 -0
- data/version +1 -0
- metadata +4 -4
- data/vendor/jar-dependencies/org/logstash/filters/logstash-filter-useragent/3.1.0/logstash-filter-useragent-3.1.0.jar +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f06646ae033e1a007f0b1c1da7811d2dc0c263e
|
|
4
|
+
data.tar.gz: d3ee6321664bc163e61645da3587bfcf380cc8ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 715f5636a3ff0aab7008cdc58c27dc9119d06f04082c4319ff249f050f32c40e2f54e19039e5fde22afbcf412bdc2439c825bd5722a89176ebde0c3e2dc01808
|
|
7
|
+
data.tar.gz: 9082a5ec58bf1cf3e3f4a103742f488adc02b78e741565e49c87be423284f5b549b7d1323cde1a9c6d9048bb05aa0f7619e59457f5bbe781e090b199358e0180
|
data/CHANGELOG.md
CHANGED
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
CHANGED
|
@@ -7,14 +7,14 @@ START - GENERATED VARIABLES, DO NOT EDIT!
|
|
|
7
7
|
:version: %VERSION%
|
|
8
8
|
:release_date: %RELEASE_DATE%
|
|
9
9
|
:changelog_url: %CHANGELOG_URL%
|
|
10
|
-
:include_path:
|
|
10
|
+
:include_path: ../../../../logstash/docs/include
|
|
11
11
|
///////////////////////////////////////////
|
|
12
12
|
END - GENERATED VARIABLES, DO NOT EDIT!
|
|
13
13
|
///////////////////////////////////////////
|
|
14
14
|
|
|
15
|
-
[id="plugins-{type}-{plugin}"]
|
|
15
|
+
[id="plugins-{type}s-{plugin}"]
|
|
16
16
|
|
|
17
|
-
=== Useragent
|
|
17
|
+
=== Useragent filter plugin
|
|
18
18
|
|
|
19
19
|
include::{include_path}/plugin_header.asciidoc[]
|
|
20
20
|
|
|
@@ -32,7 +32,7 @@ ua-parser with an Apache 2.0 license. For more details on ua-parser, see
|
|
|
32
32
|
[id="plugins-{type}s-{plugin}-options"]
|
|
33
33
|
==== Useragent Filter Configuration Options
|
|
34
34
|
|
|
35
|
-
This plugin supports the following configuration options plus the <<plugins-{type}s-common-options>> described later.
|
|
35
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
|
36
36
|
|
|
37
37
|
[cols="<,<,<",options="header",]
|
|
38
38
|
|=======================================================================
|
|
@@ -44,7 +44,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
|
44
44
|
| <<plugins-{type}s-{plugin}-target>> |<<string,string>>|No
|
|
45
45
|
|=======================================================================
|
|
46
46
|
|
|
47
|
-
Also see <<plugins-{type}s-common-options>> for a list of options supported by all
|
|
47
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
|
48
48
|
filter plugins.
|
|
49
49
|
|
|
50
50
|
|
|
@@ -114,4 +114,5 @@ If not specified user agent data will be stored in the root of the event.
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
|
118
|
+
include::{include_path}/{type}.asciidoc[]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
|
|
3
3
|
require 'jar_dependencies'
|
|
4
|
-
require_jar('org.logstash.filters', 'logstash-filter-useragent',
|
|
4
|
+
require_jar('org.logstash.filters', 'logstash-filter-useragent', ::File.read(::File.join(::File.dirname(__FILE__), '../version')).split("\n").first)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-filter-useragent'
|
|
4
|
-
s.version = '
|
|
4
|
+
s.version = ::File.read('version').split("\n").first
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Parse user agent strings into structured data based on BrowserScope data"
|
|
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"
|
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
|
12
12
|
s.require_paths = ["lib", "vendor/jar-dependencies"]
|
|
13
13
|
|
|
14
14
|
# Files
|
|
15
|
-
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT","vendor/jar-dependencies/**/*.jar","vendor/jar-dependencies/**/*.rb", "
|
|
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
|
|
|
17
17
|
# Tests
|
|
18
18
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
|
Binary file
|
data/version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.1.3
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-useragent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.3
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-07-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -61,8 +61,8 @@ files:
|
|
|
61
61
|
- lib/logstash/filters/useragent.rb
|
|
62
62
|
- logstash-filter-useragent.gemspec
|
|
63
63
|
- spec/filters/useragent_spec.rb
|
|
64
|
-
- vendor/jar-dependencies/org/logstash/filters/logstash-filter-useragent/3.1.
|
|
65
|
-
-
|
|
64
|
+
- vendor/jar-dependencies/org/logstash/filters/logstash-filter-useragent/3.1.3/logstash-filter-useragent-3.1.3.jar
|
|
65
|
+
- version
|
|
66
66
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
|
67
67
|
licenses:
|
|
68
68
|
- Apache License (2.0)
|