logstash-output-elasticsearch 10.6.0-java → 10.6.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69cd4a7aaa5a5b66bc94d633f1e482f472a557a464f0077e1382fe3b8d8bf6a4
4
- data.tar.gz: 3b08e4236f1ba8d580a4f35b528400a3c3a3e0b33123ca9e5d0b983cdb6a256d
3
+ metadata.gz: 712190af3d33e9433c9f6b6dd8efa85406b28e1dddaf344bcaa1c5769708bd44
4
+ data.tar.gz: 860e97c8f49c09bb0659939211843cc2799e69feccfb58d4584144a067e6b43f
5
5
  SHA512:
6
- metadata.gz: 5acda5b8b7a8654f0a8ffd9c99483f25eb7076184d018a76615e7d88861a45c898a6f1d20a80396791f8e6ec53746d716705ebde4db7d60b258b17941bb073b9
7
- data.tar.gz: 9927d71a573cf5aee344d8d8e0f8c7808b4e98769a1a35ae83ac25186439326f9ffa9910c676aec567607da3b9cb8bb26570fb5dd662c1ca62f648288230acb5
6
+ metadata.gz: 2aa2d08a6bdf2248091afb58fe46d79f5144a07ff2512aa6ba3511242037da6577cefae0e0da7278bab13e1382abda215dee081154eec79d75604f8f4a054386
7
+ data.tar.gz: ebeb646959ce0baf384036dfd34c035a13f88deded066d9557c3d13770dfeb37a241385ab4612f702a4e850fb835903cddc81ed28445e799a2f9d8ce81b50e0c
@@ -1,3 +1,6 @@
1
+ ## 10.6.1
2
+ - Fixed an issue introduced in 10.6.0 that broke Logstash Core's monitoring feature when this plugin is run in Logstash 7.7-7.8. [#953](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/953)
3
+
1
4
  ## 10.6.0
2
5
  - Added `ecs_compatiblity` mode, for managing ECS-compatable templates [#952](https://github.com/logstash-plugins/logstash-output-elasticsearch/issue/952)
3
6
 
@@ -419,7 +419,7 @@ If you don't set a value for this option:
419
419
  ** When Logstash provides a `pipeline.ecs_compatibility` setting, its value is used as the default
420
420
  ** Otherwise, the default value is `disabled`.
421
421
 
422
- Controls this plugin's compatibility with the {ecs-ref}}[Elastic Common Schema (ECS)],
422
+ Controls this plugin's compatibility with the https://www.elastic.co/guide/en/ecs/current/index.html[Elastic Common Schema (ECS)],
423
423
  including the installation of ECS-compatible index templates.
424
424
  The value of this setting affects the _default_ values of:
425
425
 
@@ -60,7 +60,14 @@ module LogStash; module Outputs; class ElasticSearch;
60
60
  !!maximum_seen_major_version
61
61
  end
62
62
 
63
- def use_event_type?
63
+ ##
64
+ # WARNING: This method is overridden in a subclass in Logstash Core 7.7-7.8's monitoring,
65
+ # where a `client` argument is both required and ignored. In later versions of
66
+ # Logstash Core it is optional and ignored, but to make it optional here would
67
+ # allow us to accidentally break compatibility with Logstashes where it was required.
68
+ # @param noop_required_client [nil]: required `nil` for legacy reasons.
69
+ # @return [Boolean]
70
+ def use_event_type?(noop_required_client)
64
71
  maximum_seen_major_version < 8
65
72
  end
66
73
 
@@ -74,7 +81,7 @@ module LogStash; module Outputs; class ElasticSearch;
74
81
  routing_field_name => @routing ? event.sprintf(@routing) : nil
75
82
  }
76
83
 
77
- params[:_type] = get_event_type(event) if use_event_type?
84
+ params[:_type] = get_event_type(event) if use_event_type?(nil)
78
85
 
79
86
  if @pipeline
80
87
  params[:pipeline] = event.sprintf(@pipeline)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '10.6.0'
3
+ s.version = '10.6.1'
4
4
 
5
5
  s.licenses = ['apache-2.0']
6
6
  s.summary = "Stores logs in Elasticsearch"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.6.0
4
+ version: 10.6.1
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-14 00:00:00.000000000 Z
11
+ date: 2020-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement