logstash-filter-useragent 3.1.1-java → 3.1.3-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06ab821aa286d51e683f022e81dfad7b8351616b
4
- data.tar.gz: 65faebf26d5618d7d311c8d5d65599eaf58faabe
3
+ metadata.gz: 2f06646ae033e1a007f0b1c1da7811d2dc0c263e
4
+ data.tar.gz: d3ee6321664bc163e61645da3587bfcf380cc8ae
5
5
  SHA512:
6
- metadata.gz: d13ea4b80ea74a59ad5658430dec0584755394fb3e2bd3331d211d5d0f8f78cd491e624b5b361ef660ad5b051afca53f7f6bf985315c139645582454afb6919d
7
- data.tar.gz: 0e18d63c8785d116790dce2404d1c89c60004d71b32e5aad22c579423b234d093bd95f973ebc1acf5d4916cbab2bbbf64a1fa5116025c7e5e1986905096995db
6
+ metadata.gz: 715f5636a3ff0aab7008cdc58c27dc9119d06f04082c4319ff249f050f32c40e2f54e19039e5fde22afbcf412bdc2439c825bd5722a89176ebde0c3e2dc01808
7
+ data.tar.gz: 9082a5ec58bf1cf3e3f4a103742f488adc02b78e741565e49c87be423284f5b549b7d1323cde1a9c6d9048bb05aa0f7619e59457f5bbe781e090b199358e0180
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 3.1.3
2
+ - Fixed an issue where concurrent event parsing failed randomly
3
+
4
+ ## 3.1.2
5
+ - Yanked because of broken Gem release missing a file
6
+
1
7
  ## 3.1.1
2
8
  - Fixed an issue preventing the plugin from working with a custom regex yaml file.
3
9
 
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: ../../../logstash/docs/include
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
  &nbsp;
@@ -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
- include::{include_path}/{type}.asciidoc[]
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', '3.1.1')
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 = '3.1.1'
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", "VERSION", "docs/**/*"]
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)/})
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.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-05-15 00:00:00.000000000 Z
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.0/logstash-filter-useragent-3.1.0.jar
65
- - vendor/jar-dependencies/org/logstash/filters/logstash-filter-useragent/3.1.1/logstash-filter-useragent-3.1.1.jar
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)