Skip to content
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

[7.x] [event_log] index event docs in bulk instead of individually (redo) (#83927) #83962

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

pmuellr
Copy link
Member

@pmuellr pmuellr commented Nov 20, 2020

Backports the following commits to 7.x:

…lastic#83927)

resolves elastic#55634
resolves elastic#65746

Buffers event docs being written for a fixed interval / buffer size,
and indexes those docs via a bulk ES call.

Also now flushing those buffers at plugin stop() time, which
we couldn't do before with the single index calls, which were
run via `setImmediate()`.

This is a redo of PR elastic#80941 which
had to be reverted.
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Distributable file count

id before after diff
default 43295 43294 -1

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pmuellr pmuellr merged commit a4b9d1e into elastic:7.x Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants