-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add ESF specific User-Agent header in outgoing Elasticsearch requests #537
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Minimum allowed coverage is Generated by 🐒 cobertura-action against baa8f94 |
aspacca
reviewed
Nov 23, 2023
girodav
changed the title
Add user agent in ES client kwargs
Add ESF specific User-Agent header in outgoing Elasticsearch requests
Nov 27, 2023
tommyers-elastic
previously approved these changes
Nov 27, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tommyers-elastic
approved these changes
Nov 28, 2023
aspacca
pushed a commit
that referenced
this pull request
Dec 1, 2023
…#534) * parse the content as json only when really necessary (not single content type, or with a events list expander from field) * make lint * fix bugs * bump localstack container * add ec2 service to localstack * fix comment * fix typo * reduce more complexity * fix test for localstack 3.0.0 * fix lint * further semplification and better performance * remove debug printing * remove debug printing * clean get_by_lines unit test * fix lint * even simplier * fix lint * increase coverage * Add ESF specific User-Agent header in outgoing Elasticsearch requests (#537) * Add ESF specific User-Agent header in outgoing Elasticsearch requests * Bump minimum supported Elastic stack version to 7.17 * Bump boto3 from 1.28.80 to 1.33.1 (#541) Bumps [boto3](https://github.com/boto/boto3) from 1.28.80 to 1.33.1. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.28.80...1.33.1) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump boto3 from 1.33.1 to 1.33.2 (#542) Bumps [boto3](https://github.com/boto/boto3) from 1.33.1 to 1.33.2. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.33.1...1.33.2) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * inline doc * fix tests * changelog * add back empty newline in get_by_lines_parameters * use type aliases * add comments * fix typo in comment * add more comments * add decorator unit tests * fix decorator according to test expectations --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Davide Girardi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
aspacca
pushed a commit
that referenced
this pull request
Dec 6, 2023
…#544) * Remove sqs delete record calls * Remove delete sqs message calls and optimise json collector decorator (#534) * parse the content as json only when really necessary (not single content type, or with a events list expander from field) * make lint * fix bugs * bump localstack container * add ec2 service to localstack * fix comment * fix typo * reduce more complexity * fix test for localstack 3.0.0 * fix lint * further semplification and better performance * remove debug printing * remove debug printing * clean get_by_lines unit test * fix lint * even simplier * fix lint * increase coverage * Add ESF specific User-Agent header in outgoing Elasticsearch requests (#537) * Add ESF specific User-Agent header in outgoing Elasticsearch requests * Bump minimum supported Elastic stack version to 7.17 * Bump boto3 from 1.28.80 to 1.33.1 (#541) Bumps [boto3](https://github.com/boto/boto3) from 1.28.80 to 1.33.1. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.28.80...1.33.1) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump boto3 from 1.33.1 to 1.33.2 (#542) Bumps [boto3](https://github.com/boto/boto3) from 1.33.1 to 1.33.2. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.33.1...1.33.2) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * inline doc * fix tests * changelog * add back empty newline in get_by_lines_parameters * use type aliases * add comments * fix typo in comment * add more comments * add decorator unit tests * fix decorator according to test expectations --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Davide Girardi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update CHANGELOG.md * revert not updating ending offset in ExpandEventListFromField * add typing-extensions==4.8.0 to requirements --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: girodav <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Why is it important?
This is a common pattern with Beats, and will help with troubleshooting ESF issues in Elastic Cloud, as well as helping us to better understand customer usage of ESF within Elastic Cloud.
Checklist
CHANGELOG.md
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs