logstash-filter-clone 4.1.0 → 4.1.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
  SHA256:
3
- metadata.gz: 1484059514bd47b44ed4909c15661ba83bc5a3e483e8ecf7154c6b8fe940b499
4
- data.tar.gz: a1f182dba457517545b74a6f81d2e965d7a93a3a9c18f755f19635220d74c423
3
+ metadata.gz: 667ee39a144272a71499a9b9d1bd86c8ff2a85be7724e1a31a661e2e7cd44084
4
+ data.tar.gz: 249f812faaefe68659a42d6dd1ed44de53d0842271b7afe8145332ba2ad6b368
5
5
  SHA512:
6
- metadata.gz: 90b9d0770a2322a5b4164346e2221e9d8a9488db79524019874d248e373671ca66345e2d146c327602bb6709e6a49178aca72cb4056532578f83e3ff51a19bb7
7
- data.tar.gz: b119f3fd2afa5e3903d4e903c58865077708cb7d462f08a97953369d40c66f86323ec523ed4c3d37f310cc4f8848fdcc4bf5bc69bae73a042c2e9b58c2ecc384
6
+ metadata.gz: a958dc508462f1508ad5317e0c5bd9f31b908453a041c47d6f18a0b779eeff56df55466e59f204e33ba87c7a590a4d87525f6cfa15c4f9651582bc82fc79e358
7
+ data.tar.gz: 29506d3cb8aabda8c1b884896ffd79090b82d4f3fd6cf4dff0a52f55c293732fe296489d638b78038f8cf53d6b72d177969dc8c596e6261fdf8fe807e2d0f745
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 4.1.1
2
+ - [Doc] Add ECS mapping table [#25](https://github.com/logstash-plugins/logstash-filter-clone/pull/25)
3
+ - [DOC] Added note that a new type field is added to the clone [#23](https://github.com/logstash-plugins/logstash-filter-clone/pull/23)
4
+
1
5
  ## 4.1.0
2
6
  - Add ECS compatibility [#24](https://github.com/logstash-plugins/logstash-filter-clone/pull/24)
3
7
 
data/docs/index.asciidoc CHANGED
@@ -22,11 +22,24 @@ include::{include_path}/plugin_header.asciidoc[]
22
22
 
23
23
  The clone filter is for duplicating events.
24
24
  A clone will be created for each type in the clone list.
25
- The original event is left unchanged.
25
+ The original event is left unchanged and a `type` field is added to the clone.
26
26
  Created events are inserted into the pipeline
27
27
  as normal events and will be processed by the remaining pipeline configuration
28
28
  starting from the filter that generated them (i.e. this plugin).
29
29
 
30
+ ==== Event Metadata and the Elastic Common Schema (ECS)
31
+ This plugin adds a tag to a cloned event.
32
+ By default, the tag is stored in the `type` field.
33
+ When ECS is enabled, the tag is stored in the `tags` array field.
34
+
35
+ Here’s how ECS compatibility mode affects output.
36
+ [cols="<l,<l,e,<e"]
37
+ |=======================================================================
38
+ | ECS disabled | ECS v1 | Availability | Description
39
+
40
+ | type | tags | Always | a tag of cloned event
41
+ |=======================================================================
42
+
30
43
  [id="plugins-{type}s-{plugin}-options"]
31
44
  ==== Clone Filter Configuration Options
32
45
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-clone'
4
- s.version = '4.1.0'
4
+ s.version = '4.1.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Duplicates 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"
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: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-26 00:00:00.000000000 Z
11
+ date: 2021-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement