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 +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/index.asciidoc +1 -1
- data/lib/logstash/outputs/elasticsearch/common.rb +9 -2
- data/logstash-output-elasticsearch.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 712190af3d33e9433c9f6b6dd8efa85406b28e1dddaf344bcaa1c5769708bd44
|
|
4
|
+
data.tar.gz: 860e97c8f49c09bb0659939211843cc2799e69feccfb58d4584144a067e6b43f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2aa2d08a6bdf2248091afb58fe46d79f5144a07ff2512aa6ba3511242037da6577cefae0e0da7278bab13e1382abda215dee081154eec79d75604f8f4a054386
|
|
7
|
+
data.tar.gz: ebeb646959ce0baf384036dfd34c035a13f88deded066d9557c3d13770dfeb37a241385ab4612f702a4e850fb835903cddc81ed28445e799a2f9d8ce81b50e0c
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
data/docs/index.asciidoc
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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)
|
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.
|
|
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-
|
|
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
|