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
The pool stores build flavor in health check to determine if the
Elasticsearch is serverless.
In serverless, ILM, legacy template API and license checker are disabled,
and the plugin throws ConfigurationError when ilm_enabled => true or
template_api => legacy
Co-authored-by: João Duarte <[email protected]>
raiseLogStash::ConfigurationError,"Invalid ILM configuration `ilm_enabled => true`. " +
19
+
"Serverless Elasticsearch cluster does not support Index Lifecycle Management."if@ilm_enabled.to_s == 'true'
20
+
@logger.info("ILM auto configuration (`ilm_enabled => auto` or unset) resolved to `false`. "\
21
+
"Serverless Elasticsearch cluster does not support Index Lifecycle Management.")if@ilm_enabled == 'auto'
22
+
false
23
+
elsif@ilm_enabled == 'auto'
18
24
ifilm_on_by_default?
19
25
ilm_alias_set?
20
26
else
21
-
@logger.info("Index Lifecycle Management is set to 'auto', but will be disabled - Your Elasticsearch cluster is before 7.0.0, which is the minimum version required to automatically run Index Lifecycle Management")
27
+
@logger.info("ILM auto configuration (`ilm_enabled => auto` or unset) resolved to `false`."\
28
+
" Elasticsearch cluster is before 7.0.0, which is the minimum version required to automatically run Index Lifecycle Management")
raiseLogStash::ConfigurationError,"Invalid template configuration `template_api => legacy`. Serverless Elasticsearch does not support legacy template API."
plugin.logger.trace("Resolving ILM template settings: under 'settings' key",:template=>template,:template_api=>plugin.template_api,:es_version=>plugin.maximum_seen_major_version)
62
65
legacy_index_template_settings(template)
63
66
else
64
-
template_endpoint=template_endpoint(plugin)
65
-
plugin.logger.trace("Resolving ILM template settings: template doesn't have 'settings' or 'template' fields, falling back to auto detection",:template=>template,:template_api=>plugin.template_api,:es_version=>plugin.maximum_seen_major_version,:template_endpoint=>template_endpoint)
plugin.logger.trace("Resolving ILM template settings: template doesn't have 'settings' or 'template' fields, falling back to auto detection",:template=>template,:template_api=>plugin.template_api,:es_version=>plugin.maximum_seen_major_version,:index_template_api=>use_index_template_api)
Copy file name to clipboardExpand all lines: logstash-output-elasticsearch.gemspec
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Gem::Specification.newdo |s|
2
2
s.name='logstash-output-elasticsearch'
3
-
s.version='11.15.9'
3
+
s.version='11.16.0'
4
4
s.licenses=['apache-2.0']
5
5
s.summary="Stores logs in Elasticsearch"
6
6
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"
0 commit comments