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
separate config options into elasticsearch specific and shared options (logstash-plugins#973)
specific elasticsearch option are now into the main elasticsearch
class file and shared option have been moved into the
PluginMixins::ElasticSearch::APIConfigs namespace.
This is code refactorting that has no end-user impact.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,6 @@
1
+
## unreleased
2
+
- Refactored configuration options into specific and shared in PluginMixins namespace [#973](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/973)
3
+
1
4
## 10.7.3
2
5
- Added composable index template support for elasticsearch version 8 [#980](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/980)
# The Elasticsearch action to perform. Valid actions are:
@@ -122,130 +123,128 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base
122
123
# For more details on actions, check out the http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html[Elasticsearch bulk API documentation]
# format is id:api_key (as returned by https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html[Create API key])
132
-
config:api_key,:validate=>:password
178
+
# The version to use for indexing. Use sprintf syntax like `%{my_version}` to use a field value here.
179
+
# See https://www.elastic.co/blog/elasticsearch-versioning-support.
180
+
config:version,:validate=>:string
133
181
134
-
# Cloud authentication string ("<username>:<password>" format) is an alternative for the `user`/`password` configuration.
135
-
#
136
-
# For more details, check out the https://www.elastic.co/guide/en/logstash/current/connecting-to-cloud.html#_cloud_auth[cloud documentation]
137
-
config:cloud_auth,:validate=>:password
138
-
139
-
# HTTP Path at which the Elasticsearch server lives. Use this if you must run Elasticsearch behind a proxy that remaps
140
-
# the root path for the Elasticsearch HTTP API lives.
141
-
# Note that if you use paths as components of URLs in the 'hosts' field you may
142
-
# not also set this field. That will raise an error at startup
143
-
config:path,:validate=>:string
144
-
145
-
# HTTP Path to perform the _bulk requests to
146
-
# this defaults to a concatenation of the path parameter and "_bulk"
147
-
config:bulk_path,:validate=>:string
148
-
149
-
# Pass a set of key value pairs as the URL query string. This query string is added
150
-
# to every host listed in the 'hosts' configuration. If the 'hosts' list contains
151
-
# urls that already have query strings, the one specified here will be appended.
152
-
config:parameters,:validate=>:hash
153
-
154
-
# Enable SSL/TLS secured communication to Elasticsearch cluster. Leaving this unspecified will use whatever scheme
155
-
# is specified in the URLs listed in 'hosts'. If no explicit protocol is specified plain HTTP will be used.
156
-
# If SSL is explicitly disabled here the plugin will refuse to start if an HTTPS URL is given in 'hosts'
157
-
config:ssl,:validate=>:boolean
158
-
159
-
# Option to validate the server's certificate. Disabling this severely compromises security.
160
-
# For more information on disabling certificate verification please read
# How long to wait before checking if the connection is stale before executing a request on a connection using keepalive.
235
-
# You may want to set this lower, if you get connection errors regularly
236
-
# Quoting the Apache commons docs (this client is based Apache Commmons):
237
-
# 'Defines period of inactivity in milliseconds after which persistent connections must
238
-
# be re-validated prior to being leased to the consumer. Non-positive value passed to
239
-
# this method disables connection validation. This check helps detect connections that
240
-
# have become stale (half-closed) while kept inactive in the pool.'
241
-
# See https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.html#setValidateAfterInactivity(int)[these docs for more info]
0 commit comments