Skip to content

Conversation

mashhurs
Copy link
Contributor

@mashhurs mashhurs commented Mar 20, 2025

Recently LS core upgraded elasticsearch-ruby client to v8. This plugin uses it in integration tests and recent failures show due to es-ruby client upgrade: https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1207/checks?check_run_id=39057545885

This change tolerates elasticsearch-ruby both v7 and v8 clients.

@mashhurs mashhurs requested a review from jsvd March 21, 2025 15:50
Copy link
Member

@jsvd jsvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming tests are all green

@mashhurs mashhurs merged commit d9dd45e into logstash-plugins:main Mar 21, 2025
3 checks passed
jsvd added a commit to jsvd/logstash-output-elasticsearch that referenced this pull request Aug 1, 2025
…tash-plugins#1208) * elasticsearch-ruby client got updated to v8 in LS core. This plugin uses it in integration tests. This change tolerates both elasticsearch-ruby v7 and v8 client versions. * Fix the ILM spec issue where method was removed, restored internally. --------- Co-authored-by: João Duarte <jsvduarte@gmail.com>
jsvd added a commit that referenced this pull request Aug 1, 2025
…fixes) (#1219) Adds two new headers to each bulk request: * "X-Elastic-Event-Count": number of actions / documents in that bulk request * "X-Elastic-Uncompressed-Request-Length": size in bytes of the request body before compression X-Elastic-Uncompressed-Request-Length is equal to Content-Length when compression is disabled. Backport fixes: * Tolerate the elasticsearch-ruby v8 client in integration tests. (#1208) * elasticsearch-ruby client got updated to v8 in LS core. This plugin uses it in integration tests. This change tolerates both elasticsearch-ruby v7 and v8 client versions. * Fix the ILM spec issue where method was removed, restored internally. Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants