logstash-filter-elasticsearch 3.1.4 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/docs/index.asciidoc +2 -2
- data/lib/logstash/filters/elasticsearch/client.rb +2 -1
- data/logstash-filter-elasticsearch.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0740a36e9e0076705f8e5ffff9f50ad7db30694
|
4
|
+
data.tar.gz: 362bf9a5f4d3c73854756bc87c8f71acfff3d210
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbb8da28336f712a351cec84e52e5ee23d502ee3c74ff417d4f07827343df600bc574de8637d45b1cf23066c88e8500342a64a33e7f315e8bf07609b42512018
|
7
|
+
data.tar.gz: fff132e11c0e85349e041d918e459edbae7fbd0e3e531fa1e670310c20432cb7edbd2d9f5d2926cc8610d03196fa27077971369e0f6dd7089dea415950ce7164
|
data/CHANGELOG.md
CHANGED
data/docs/index.asciidoc
CHANGED
@@ -12,7 +12,7 @@ START - GENERATED VARIABLES, DO NOT EDIT!
|
|
12
12
|
END - GENERATED VARIABLES, DO NOT EDIT!
|
13
13
|
///////////////////////////////////////////
|
14
14
|
|
15
|
-
[id="plugins-{type}-{plugin}"]
|
15
|
+
[id="plugins-{type}s-{plugin}"]
|
16
16
|
|
17
17
|
=== Elasticsearch filter plugin
|
18
18
|
|
@@ -23,7 +23,7 @@ include::{include_path}/plugin_header.asciidoc[]
|
|
23
23
|
.Compatibility Note
|
24
24
|
[NOTE]
|
25
25
|
================================================================================
|
26
|
-
Starting with Elasticsearch 5.3, there's an {ref}modules-http.html[HTTP setting]
|
26
|
+
Starting with Elasticsearch 5.3, there's an {ref}/modules-http.html[HTTP setting]
|
27
27
|
called `http.content_type.required`. If this option is set to `true`, and you
|
28
28
|
are using Logstash 2.4 through 5.2, you need to update the Elasticsearch filter
|
29
29
|
plugin to version 3.1.1 or higher.
|
@@ -21,7 +21,8 @@ module LogStash
|
|
21
21
|
end
|
22
22
|
|
23
23
|
hosts.map! {|h| { host: h, scheme: 'https' } } if ssl
|
24
|
-
|
24
|
+
# set ca_file even if ssl isn't on, since the host can be an https url
|
25
|
+
transport_options[:ssl] = { ca_file: options[:ca_file] } if options[:ca_file]
|
25
26
|
|
26
27
|
@logger.info("New ElasticSearch filter", :hosts => hosts)
|
27
28
|
@client = ::Elasticsearch::Client.new(hosts: hosts, transport_options: transport_options)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-filter-elasticsearch'
|
4
|
-
s.version = '3.1.
|
4
|
+
s.version = '3.1.5'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Search elasticsearch for a previous log event and copy some fields from it into the current event"
|
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-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|