Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Enable batch config settings in the ES output#227

Merged
faec merged 4 commits intoelastic:mainfrom
faec:es-tuning
Jan 30, 2023
Merged

Enable batch config settings in the ES output#227
faec merged 4 commits intoelastic:mainfrom
faec:es-tuning

Conversation

@faec
Copy link
Copy Markdown
Contributor

@faec faec commented Jan 23, 2023

Add batch_size and flush_timeout parameters to the Elasticsearch output (as well as a few others that were straightforward with go-elasticsearch: num_workers, backoff, max_retries).

Closes #28

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.md or CHANGELOG-developer.md.

@faec faec added enhancement New feature or request Team:Elastic-Agent Label for the Agent team labels Jan 23, 2023
@faec faec requested a review from a team as a code owner January 23, 2023 16:01
@faec faec self-assigned this Jan 23, 2023
@faec faec requested review from cmacknz and leehinman and removed request for a team January 23, 2023 16:01
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jan 23, 2023

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @faec? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v8./d.0 is the label to automatically backport to the 8./d branch. /d is the digit

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jan 23, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-01-30T13:23:59.851+0000

  • Duration: 15 min 37 sec

❕ Flaky test report

No test was executed to be analysed.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

Copy link
Copy Markdown
Contributor

@leehinman leehinman left a comment

Choose a reason for hiding this comment

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

LGTM

optional: might be nice to say what defaults for num_workers etc is, or at least how it gets derived.

@faec faec merged commit 535887f into elastic:main Jan 30, 2023
@faec faec deleted the es-tuning branch January 30, 2023 13:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request Team:Elastic-Agent Label for the Agent team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement more efficient output tuning parameters to manage throughput

3 participants