logstash-filter-tld 0.1.3 → 2.0.1

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: 6a688a22c33dd3960ff8228412c697c6ff200467
4
- data.tar.gz: 5de61f40ab0bc53484a1ad7f90f1b27468a49c15
3
+ metadata.gz: fa1a65b68de50de37d52f974cf3e214fe123c8b7
4
+ data.tar.gz: 8520f70c0e57aace191dc7d01ac697b8685dac26
5
5
  SHA512:
6
- metadata.gz: f74693e10ec6491aa23603d8b8ed39e0656a021f89748d9aa96a882e1a3a1cad6e9d72f83b9b37d5748786efd0af5eb090789a95c057fa0cfbe1180204b78c46
7
- data.tar.gz: b89d2825c106fc3fb9190bd06cc0736640a7b3aac673986832b41aa000b244201c8d78d40c93f501d55b104f853b009b15f45090ca147ae6b972b561e1429ea6
6
+ metadata.gz: 4396021f6690af5b59576bf6041355a037a2645178d4f1dc6387208a96e9f155fafb35a6fcadf34047d265bcefa6f0a00edc8e305552bd23d8b93d873d6b971f
7
+ data.tar.gz: 1e3fd2186885c43a6f0a3b0c4cb02a49aa1b5f02b4b61bb1ff14985e399bea07f404663cea97e1ca09adde190379bc79f81e547e6d455891a22236d3dd161ffa
@@ -0,0 +1,5 @@
1
+ ## 2.0.0
2
+ - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
+ instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
4
+ - Dependency on logstash-core update to 2.0
5
+
@@ -0,0 +1,5 @@
1
+ Elasticsearch
2
+ Copyright 2012-2015 Elasticsearch
3
+
4
+ This product includes software developed by The Apache Software
5
+ Foundation (http://www.apache.org/).
data/README.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # Logstash Plugin
2
2
 
3
- This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
3
+ This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
4
 
5
5
  It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
6
6
 
7
7
  ## Documentation
8
8
 
9
- Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elasticsearch.org/guide/en/logstash/current/).
9
+ Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
10
10
 
11
11
  - For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
12
- - For more asciidoc formatting tips, see the excellent reference here https://github.com/elasticsearch/docs#asciidoc-guide
12
+ - For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
13
13
 
14
14
  ## Need Help?
15
15
 
16
- Need help? Try #logstash on freenode IRC or the logstash-users@googlegroups.com mailing list.
16
+ Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
17
17
 
18
18
  ## Developing
19
19
 
@@ -83,4 +83,4 @@ Programming is not a required skill. Whatever you've seen about open source and
83
83
 
84
84
  It is more important to the community that you are able to contribute.
85
85
 
86
- For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
86
+ For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-tld'
3
- s.version = '0.1.3'
3
+ s.version = '2.0.1'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "This example filter replaces the contents of the message field with the specified value."
6
6
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.require_paths = ["lib"]
11
11
 
12
12
  # Files
13
- s.files = `git ls-files`.split($\)
13
+ s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
14
14
  # Tests
15
15
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
16
16
 
@@ -18,8 +18,8 @@ Gem::Specification.new do |s|
18
18
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "filter" }
19
19
 
20
20
  # Gem dependencies
21
- s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
21
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
22
22
  s.add_runtime_dependency 'public_suffix', '=1.4.6'
23
23
 
24
24
  s.add_development_dependency 'logstash-devutils'
25
- end
25
+ end
metadata CHANGED
@@ -1,24 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-tld
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-20 00:00:00.000000000 Z
11
+ date: 2015-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - '>='
17
17
  - !ruby/object:Gem::Version
18
- version: 1.4.0
18
+ version: 2.0.0.snapshot
19
19
  - - <
20
20
  - !ruby/object:Gem::Version
21
- version: 2.0.0
21
+ version: 3.0.0
22
22
  name: logstash-core
23
23
  prerelease: false
24
24
  type: :runtime
@@ -26,10 +26,10 @@ dependencies:
26
26
  requirements:
27
27
  - - '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.4.0
29
+ version: 2.0.0.snapshot
30
30
  - - <
31
31
  - !ruby/object:Gem::Version
32
- version: 2.0.0
32
+ version: 3.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements:
@@ -64,13 +64,13 @@ executables: []
64
64
  extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
+ - CHANGELOG.md
67
68
  - CONTRIBUTORS
68
69
  - DEVELOPER.md
69
70
  - Gemfile
70
71
  - LICENSE
72
+ - NOTICE.TXT
71
73
  - README.md
72
- - Rakefile
73
- - example.conf
74
74
  - lib/logstash/filters/tld.rb
75
75
  - logstash-filter-tld.gemspec
76
76
  - spec/filters/tld_spec.rb
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.1.9
99
+ rubygems_version: 2.4.8
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: This example filter replaces the contents of the message field with the specified value.
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "logstash/devutils/rake"
@@ -1,42 +0,0 @@
1
- input {
2
-
3
- # This works
4
- generator {
5
- message => "www.google.com"
6
- count => 1
7
- type => "test1"
8
- }
9
-
10
- # This will fail
11
- generator {
12
- message => "google.co.ukf"
13
- count => 1
14
- type => "test1"
15
- }
16
-
17
- # Shows using the source option
18
- generator {
19
- message => "The domain is www.google.com"
20
- count => 1
21
- type => "test2"
22
- }
23
-
24
- }
25
-
26
- filter {
27
- if [type] == "test1" {
28
- tld {}
29
- }
30
- if [type] == "test2" {
31
- grok {
32
- match => [ "message", "The domain is %{HOST:domain}" ]
33
- }
34
- tld {
35
- source => "domain"
36
- }
37
- }
38
- }
39
-
40
- output {
41
- stdout { codec => rubydebug }
42
- }