Skip to content

Backport bulk count and uncompressed size headers to 11.x (+ ci/test fixes) #1219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 1, 2025

Conversation

jsvd
Copy link
Member

@jsvd jsvd commented Jul 30, 2025

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.

Also updates version matrix + cert fixtures + fixes integration tests when using elasticsearch ruby 8.x

Backports to 11.x:

jsvd and others added 5 commits July 30, 2025 10:59
…ts (logstash-plugins#1217)

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.
…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 <[email protected]>
@jsvd jsvd changed the title Backport #1218 #1217 prs to 11.x Backport bulk count and uncompressed size headers to 11.x (+ ci/test fixes) Aug 1, 2025
@@ -1,5 +1,3 @@
version: '3'
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice. Docker is so noisy about this!

Copy link
Contributor

@donoghuc donoghuc left a comment

Choose a reason for hiding this comment

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

Backports look clean and release prep seems complete. 🚀

@jsvd jsvd merged commit f019f62 into logstash-plugins:11.x Aug 1, 2025
3 checks passed
@jsvd jsvd deleted the backport_1218_1217_11_x branch August 1, 2025 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants