logstash-output-elasticsearch 5.3.3-java → 5.3.4-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
  SHA1:
3
- metadata.gz: c7215cdc391fa36759ad34115ee7bc86675154ef
4
- data.tar.gz: 17afbe84a16a218fd28163f68f3a023e1dbb12c4
3
+ metadata.gz: a1f874229a886c9f587b38cabaf35c3281ac82fc
4
+ data.tar.gz: db38f67eb52fbd4d64e11b5a4d1157ad10649ada
5
5
  SHA512:
6
- metadata.gz: 1dce858308979f22de3bcf8573ba06afb7b981dda3dc13d3ef0f6f12174bc3110f3d3b8a97b2daf334eafc4bf615e92a679da28d44087d379a51f2da43f7cd5c
7
- data.tar.gz: e6ed3b5b4f45651965ea1cc4270869610cfe2c645b821a46cd6beb22eebd5c3093ab57b1a301274607eff7bf935626c5bf6fae2f97daaf4c87335383158f0865
6
+ metadata.gz: 5a8a0d210003dc9e36f5a173caa085730e06e4fca6db70e39277d0b8094f75b0eba21aa138abe197dd0899bac61fa0af9862baee03288481302df2af0b036035
7
+ data.tar.gz: 48afb4e6a3f6be0a46c863df27f7401360808272cf04aef6b1af6d96b912b5a5e2ab58dc46c1c7d1178336a2f2a20dcf3b07cfb512e2122441c0aa1e8ce63458
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 5.3.4
2
+ - Add `sprintf` or event dependent configuration when specifying ingest pipeline
3
+
1
4
  ## 5.3.3
2
5
  - Hide user/password in connection pool
3
6
 
@@ -146,7 +146,7 @@ module LogStash; module Outputs; class ElasticSearch;
146
146
  }
147
147
 
148
148
  if @pipeline
149
- params[:pipeline] = @pipeline
149
+ params[:pipeline] = event.sprintf(@pipeline)
150
150
  end
151
151
 
152
152
  if @parent
@@ -16,15 +16,18 @@ module LogStash; module Outputs; class ElasticSearch
16
16
  # otherwise the document type will be assigned the value of 'logs'
17
17
  mod.config :document_type, :validate => :string
18
18
 
19
- # Starting in Logstash 1.3 (unless you set option `manage_template` to false)
20
- # a default mapping template for Elasticsearch will be applied, if you do not
21
- # already have one set to match the index pattern defined (default of
22
- # `logstash-%{+YYYY.MM.dd}`), minus any variables. For example, in this case
23
- # the template will be applied to all indices starting with `logstash-*`
19
+ # From Logstash 1.3 onwards, a template is applied to Elasticsearch during
20
+ # Logstash's startup if one with the name `template_name` does not already exist.
21
+ # By default, the contents of this template is the default template for
22
+ # `logstash-%{+YYYY.MM.dd}` which always matches indices based on the pattern
23
+ # `logstash-*`. Should you require support for other index names, or would like
24
+ # to change the mappings in the template in general, a custom template can be
25
+ # specified by setting `template` to the path of a template file.
24
26
  #
25
- # If you have dynamic templating (e.g. creating indices based on field names)
26
- # then you should set `manage_template` to false and use the REST API to upload
27
- # your templates manually.
27
+ # Setting `manage_template` to false disables this feature. If you require more
28
+ # control over template creation, (e.g. creating indices dynamically based on
29
+ # field names) you should set `manage_template` to false and use the REST
30
+ # API to apply your templates manually.
28
31
  mod.config :manage_template, :validate => :boolean, :default => true
29
32
 
30
33
  # This configuration option defines how the template is named inside Elasticsearch.
@@ -137,7 +140,8 @@ module LogStash; module Outputs; class ElasticSearch
137
140
  # for more info
138
141
  mod.config :retry_on_conflict, :validate => :number, :default => 1
139
142
 
140
- # Set which ingest pipeline you wish to execute for an event
143
+ # Set which ingest pipeline you wish to execute for an event. You can also use event dependent configuration
144
+ # here like `pipeline => "%{INGEST_PIPELINE}"`
141
145
  mod.config :pipeline, :validate => :string, :default => nil
142
146
  end
143
147
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-elasticsearch'
4
- s.version = '5.3.3'
4
+ s.version = '5.3.4'
5
5
  s.licenses = ['apache-2.0']
6
6
  s.summary = "Logstash Output to Elasticsearch"
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-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.3
4
+ version: 5.3.4
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-11 00:00:00.000000000 Z
11
+ date: 2016-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement