logstash-input-stdin 3.3.0 → 3.4.0

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: 6917a88716e77f8286a2434962332acc5acc4549a671cd7539eb6e3bfd3a8b46
4
- data.tar.gz: 7fa6c51bb2ac84db238b5a037b25aaabefd4ac1889d68af3eb05410c55068cf1
3
+ metadata.gz: 8882a22f01b76d9b25f5a7fed05094e7b37aac6a77154df1e765920650a97cde
4
+ data.tar.gz: 17868abcfb7b5fb0a1dc7662fc10e10bca2d1f6bfff342c433c978ebfeab99a7
5
5
  SHA512:
6
- metadata.gz: 1d73b473748fd02bb413ff404c0b15a476730f2dab292524c403223fccfefc3919bd1a579bf36e0a605c6184f53cd16a55b003937fdf7b82480f4dfdd439cb48
7
- data.tar.gz: 5b6400581b20bef212afdf60e74cb1666f8e73f818d65d0572c669aacce1895904a396606ad2521c54d5e6103901a5eff05d0e6013a79610947e567f1d78cf7b
6
+ metadata.gz: a052c3523191fb8b0553aa7744b4698b5abaf994546912c6f4f3daeea7eb4edd1d6024406928f6b745372f75e8c6826046fc9e57c5f4768321bf91a12759bb09
7
+ data.tar.gz: e332bc207c144ff40385277e854a2cd5edab93ca5bdb7a99e7c2e83d3c2b5dbaa17e19daae585f2a24c94e1935476766399a62a5d1a1a38572d920ead63b7d11
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.4.0
2
+ - Add ECS v8 support as alias of v1 implementation
3
+
1
4
  ## 3.3.0
2
5
  - Feat: ECS support + review dependencies [#20](https://github.com/logstash-plugins/logstash-input-stdin/pull/20)
3
6
 
data/docs/index.asciidoc CHANGED
@@ -49,7 +49,7 @@ input plugins.
49
49
  * Value type is <<string,string>>
50
50
  * Supported values are:
51
51
  ** `disabled`: does not use ECS-compatible field names (using `host` field to store host name)
52
- ** `v1`: uses fields that are compatible with Elastic Common Schema (using `[host][hostname]`)
52
+ ** `v1`,`v8`: uses fields that are compatible with Elastic Common Schema (using `[host][hostname]`)
53
53
  * Default value depends on which version of Logstash is running:
54
54
  ** When Logstash provides a `pipeline.ecs_compatibility` setting, its value is used as the default
55
55
  ** Otherwise, the default value is `disabled`.
@@ -10,7 +10,7 @@ require "jruby-stdin-channel"
10
10
  # By default, each event is assumed to be one line. If you
11
11
  # want to join lines, you'll want to use the multiline codec.
12
12
  class LogStash::Inputs::Stdin < LogStash::Inputs::Base
13
- include LogStash::PluginMixins::ECSCompatibilitySupport(:disabled, :v1)
13
+ include LogStash::PluginMixins::ECSCompatibilitySupport(:disabled, :v1, :v8 => :v1)
14
14
 
15
15
  config_name "stdin"
16
16
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-stdin'
4
- s.version = '3.3.0'
4
+ s.version = '3.4.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Reads events from standard input"
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"
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  # Gem dependencies
23
23
  s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
24
- s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~> 1.1'
24
+ s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~> 1.2'
25
25
  s.add_runtime_dependency "logstash-codec-line"
26
26
  s.add_runtime_dependency "jruby-stdin-channel"
27
27
 
@@ -34,7 +34,7 @@ describe LogStash::Inputs::Stdin do
34
34
 
35
35
  subject { LogStash::Inputs::Stdin.new }
36
36
 
37
- ecs_compatibility_matrix(:v1) do
37
+ ecs_compatibility_matrix(:v1, :v8 => :v1) do
38
38
 
39
39
  before(:each) do
40
40
  allow_any_instance_of(described_class).to receive(:ecs_compatibility).and_return(ecs_compatibility)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-stdin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0
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-12 00:00:00.000000000 Z
11
+ date: 2021-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '1.1'
38
+ version: '1.2'
39
39
  name: logstash-mixin-ecs_compatibility_support
40
40
  prerelease: false
41
41
  type: :runtime
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.2'
47
47
  - !ruby/object:Gem::Dependency
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements:
@@ -167,8 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []
170
- rubyforge_project:
171
- rubygems_version: 2.6.13
170
+ rubygems_version: 3.1.6
172
171
  signing_key:
173
172
  specification_version: 4
174
173
  summary: Reads events from standard input