You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove deprecated SSL settings and simplify SSL configuration (#213)
* Mark deprecated SSL settings as obsolete
This commit updates SSL settings to be marked as obsolete:
- Replace `ssl` with `ssl_enabled`
- Replace `ca_file` with `ssl_certificate_authorities`
- Replace `ssl_certificate_verification` with `ssl_verification_mode`
`setup_ssl_params!` has been updated to only handle SSL inference
when not explicitly configured.
* Fix accidental removal of changelog entry
During a rebase the latest 4 series entry was deleted. This restores it.
Copy file name to clipboardExpand all lines: docs/index.asciidoc
+18-45Lines changed: 18 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,13 @@ TIP: Set the `target` option to avoid potential schema conflicts.
96
96
[id="plugins-{type}s-{plugin}-options"]
97
97
==== Elasticsearch Input configuration options
98
98
99
-
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> and the <<plugins-{type}s-{plugin}-deprecated-options>> described later.
99
+
This plugin supports these configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
100
+
101
+
NOTE: As of version `5.0.0` of this plugin, a number of previously deprecated settings related to SSL have been removed.
102
+
Please check out <<plugins-{type}s-{plugin}-obsolete-options>> for details.
103
+
104
+
NOTE: As of version `5.0.0` of this plugin, a number of previously deprecated settings related to SSL have been removed.
105
+
Please check out <<plugins-{type}s-{plugin}-obsolete-options>> for details.
@@ -478,6 +484,8 @@ Enable SSL/TLS secured communication to Elasticsearch cluster.
478
484
Leaving this unspecified will use whatever scheme is specified in the URLs listed in <<plugins-{type}s-{plugin}-hosts>> or extracted from the <<plugins-{type}s-{plugin}-cloud_id>>.
479
485
If no explicit protocol is specified plain HTTP will be used.
480
486
487
+
When not explicitly set, SSL will be automatically enabled if any of the specified hosts use HTTPS.
488
+
481
489
[id="plugins-{type}s-{plugin}-ssl_key"]
482
490
===== `ssl_key`
483
491
* Value type is <<path,path>>
@@ -608,56 +616,21 @@ option when authenticating to the Elasticsearch server. If set to an
Copy file name to clipboardExpand all lines: logstash-input-elasticsearch.gemspec
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Gem::Specification.newdo |s|
2
2
3
3
s.name='logstash-input-elasticsearch'
4
-
s.version='4.20.5'
4
+
s.version='5.0.0'
5
5
s.licenses=['Apache License (2.0)']
6
6
s.summary="Reads query results from an Elasticsearch cluster"
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"
it"should raise a config error with the appropriate message"do
68
+
expect{plugin.register}.toraise_errorLogStash::ConfigurationError,/The setting `#{obsolete_setting[:name]}` in plugin `elasticsearch` is obsolete and is no longer available. Set '#{obsolete_setting[:replacement]}' instead/i
0 commit comments