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
shut down pipeline when finish register fails (#1151)
Prior to this change, the errors in the post-register phase (finish_register) behaved differently: template manager logged failure; ILM setup loop printed error messages. Continuing the pipeline would not be meaningful. With this commit, ConfigurationError is introduced for critical bootstrap failures, such as when the template path is not found. This change stops the pipeline when it gets ConfigurationError or 4xx status code calling template or ILM related API. For HTTP 429 too many request, finish_register retries the bootstrap --------- Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
+
## 11.20.0
2
+
- Changed the register to initiate pipeline shutdown upon bootstrap failure instead of simply logging the error [#1151](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1151)
3
+
1
4
## 11.19.0
2
-
- Added `filter_path` to bulk requests to reduce the size of responses from elasticsearch
5
+
- Added `filter_path` to bulk requests to reduce the size of responses from elasticsearch[#1154](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1154)
3
6
4
7
## 11.18.0
5
8
- Added request header `Elastic-Api-Version` for serverless [#1147](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1147)
fail"Failed to load default template for Elasticsearch v#{es_major_version} with ECS #{ecs_compatibility}; caused by: #{e.inspect}"
40
+
raiseLogStash::ConfigurationError,"Failed to load default template for Elasticsearch v#{es_major_version} with ECS #{ecs_compatibility}; caused by: #{e.inspect}"
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.19.0'
3
+
s.version='11.20.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