logstash-filter-clone 3.0.2 → 3.0.3

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: 03fe32f88c1d264b8bbc0ac7e4ed2d9c03954410
4
- data.tar.gz: f0390fad52b5bf4121b9f79682c7e21d7a068f1f
3
+ metadata.gz: 3764266a29faf41f136265183c9712e580b0df50
4
+ data.tar.gz: 13809d476595defd1b4a94bc9960c82b7b6cca07
5
5
  SHA512:
6
- metadata.gz: 9bffc43ce44e1308c64abba22026f2e9fc29d3b04027423de1a64b68d626a999a6876be9c87c98649ea97fba2146089b1f21d20299604a35e1204b8c5f6f87b6
7
- data.tar.gz: fda0d60ced0e1ccf523d4969c21b051f4f0215fbee583ef832ac1cfa11f43d93af6b528c6c27fd78383c088da55f7dbf48343f974059bb34c6d4ab76e83f5712
6
+ metadata.gz: b5746fe2898c603dbd979feed484869e61571ab90327bc9044b0a1318e7efa79fe127011ddac0e3213bb0bbfd96f134c52bb82a60f7d79dea875c509422cd93f
7
+ data.tar.gz: b6690e9502a4f722a28ad4f831de9538bb74cd9c9d78e43faa6aff68755bbec327f6e2a5493d7b3376814fe57ea8854298c38d238509004161608638965a3f41
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
@@ -0,0 +1,57 @@
1
+ :plugin: clone
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
+ === Clone filter plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ The clone filter is for duplicating events.
24
+ A clone will be created for each type in the clone list.
25
+ The original event is left unchanged.
26
+ Created events are inserted into the pipeline
27
+ as normal events and will be processed by the remaining pipeline configuration
28
+ starting from the filter that generated them (i.e. this plugin).
29
+
30
+ [id="plugins-{type}s-{plugin}-options"]
31
+ ==== Clone Filter Configuration Options
32
+
33
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
34
+
35
+ [cols="<,<,<",options="header",]
36
+ |=======================================================================
37
+ |Setting |Input type|Required
38
+ | <<plugins-{type}s-{plugin}-clones>> |<<array,array>>|No
39
+ |=======================================================================
40
+
41
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
42
+ filter plugins.
43
+
44
+ &nbsp;
45
+
46
+ [id="plugins-{type}s-{plugin}-clones"]
47
+ ===== `clones`
48
+
49
+ * Value type is <<array,array>>
50
+ * Default value is `[]`
51
+
52
+ A new clone will be created with the given type for each type in this list.
53
+
54
+
55
+
56
+ [id="plugins-{type}s-{plugin}-common-options"]
57
+ include::{include_path}/{type}.asciidoc[]
@@ -3,8 +3,11 @@ require "logstash/filters/base"
3
3
  require "logstash/namespace"
4
4
 
5
5
  # The clone filter is for duplicating events.
6
- # A clone will be made for each type in the clone list.
6
+ # A clone will be created for each type in the clone list.
7
7
  # The original event is left unchanged.
8
+ # Created events are inserted into the pipeline
9
+ # as normal events and will be processed by the remaining pipeline configuration
10
+ # starting from the filter that generated them (i.e. this plugin).
8
11
  class LogStash::Filters::Clone < LogStash::Filters::Base
9
12
 
10
13
  config_name "clone"
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-clone'
4
- s.version = '3.0.2'
4
+ s.version = '3.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "The clone filter is for duplicating events."
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['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
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-filter-clone
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 00:00:00.000000000 Z
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
@@ -56,6 +56,7 @@ files:
56
56
  - LICENSE
57
57
  - NOTICE.TXT
58
58
  - README.md
59
+ - docs/index.asciidoc
59
60
  - lib/logstash/filters/clone.rb
60
61
  - logstash-filter-clone.gemspec
61
62
  - spec/filters/clone_spec.rb
@@ -81,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
82
  version: '0'
82
83
  requirements: []
83
84
  rubyforge_project:
84
- rubygems_version: 2.6.3
85
+ rubygems_version: 2.4.8
85
86
  signing_key:
86
87
  specification_version: 4
87
88
  summary: The clone filter is for duplicating events.