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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5530fee036b7a8c858288a6978937a9fb79f16d1
4
- data.tar.gz: b0fa42a9d9f67d2bbcb280a76961f993aa31aac0
3
+ metadata.gz: b0740a36e9e0076705f8e5ffff9f50ad7db30694
4
+ data.tar.gz: 362bf9a5f4d3c73854756bc87c8f71acfff3d210
5
5
  SHA512:
6
- metadata.gz: 6d546ddea90b7def6977617aab2310960b339145ecc437d341040ea826e6d161ff0442b6c045cd44e84007fa1ec0f9ab3fc4a5440726a09aa2e0cfe8cfdebb34
7
- data.tar.gz: fc67470d7d52436e936ee7821b519fa7597f280923e3a2cd7c8df92f34b43211346b12de24e6638a4cec7d7966d11bd500bdddd4b764ad199dfb5567a6f9233c
6
+ metadata.gz: fbb8da28336f712a351cec84e52e5ee23d502ee3c74ff417d4f07827343df600bc574de8637d45b1cf23066c88e8500342a64a33e7f315e8bf07609b42512018
7
+ data.tar.gz: fff132e11c0e85349e041d918e459edbae7fbd0e3e531fa1e670310c20432cb7edbd2d9f5d2926cc8610d03196fa27077971369e0f6dd7089dea415950ce7164
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 3.1.5
2
+ - Docs: Fix broken link to Logstash docs.
3
+ - Support ca_file setting when using https uri in hosts parameter
4
+
5
+ ## 3.1.4
6
+ - Docs: Bump patch level for doc build.
7
+
1
8
  ## 3.1.3
2
9
  - Change the queries loglevel from info to debug.
3
10
 
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
- transport_options[:ssl] = { ca_file: options[:ca_file] } if ssl && options[:ca_file]
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'
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
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-06-23 00:00:00.000000000 Z
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