-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[MetricBeat] add param aws_partition
to support aws-cn, aws-us-gov regions
#19423
[MetricBeat] add param aws_partition
to support aws-cn, aws-us-gov regions
#19423
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
1 similar comment
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
aws_partition
to support other aws region: aws-cn, aws-u…aws_partition
to support other aws region: aws-cn, aws-u…
aws_partition
to support other aws region: aws-cn, aws-u…aws_partition
to support: aws-cn, aws-us-gov region
aws_partition
to support: aws-cn, aws-us-gov regionaws_partition
to support: aws-cn, aws-us-gov region
❕ Build Aborted
Expand to view the summary
Build stats
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
aws_partition
to support: aws-cn, aws-us-gov regionaws_partition
to support aws-cn, aws-us-gov regions
55b3d1b
to
5b6dc38
Compare
jenkins, test this please |
Thanks for working on both changes!! Sorry for the delay, I will review them today!! |
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.
Tested locally and it works. Thank you for the contribution! I will merge this PR and get it backported.
run tests please |
…support aws-cn, aws-us-gov regions (#19519) * [MetricBeat] add param `aws_partition` to support aws-cn, aws-us-gov regions (#19423) * add params `aws_partition` to support other aws region: aws-cn, aws-us-gov (cherry picked from commit 1ea8c84) Co-authored-by: martin <kwinstonix@users.noreply.github.com>
…ne-beats * upstream/master: (105 commits) ci: enable packaging job (elastic#19536) ci: disable upstream trigger on PRs for the packaging job (elastic#19490) Implement memlog on-disk handling (elastic#19408) fix go.mod for PR elastic#19423 (elastic#19521) [MetricBeat] add param `aws_partition` to support aws-cn, aws-us-gov regions (elastic#19423) Input v2 stateless manager (elastic#19406) Input v2 compatibility layer (elastic#19401) [Elastic Agent] Fix artifact downloading to allow endpoint-security to be downloaded (elastic#19503) fix: ignore target changes on scans (elastic#19510) Add more helpers to pipeline/testing package (elastic#19405) Report dependencies in CSV format (elastic#19506) [Filebeat] Fix reference leak in TCP and Unix socket inputs (elastic#19459) Cursor input skeleton (elastic#19378) Add changelog. (elastic#19495) [DOC] Typo in Kerberos (elastic#19265) Remove accidentally commited unused NOTICE template (elastic#19485) [Elastic Agent] Support the install, control, and uninstall of Endpoint (elastic#19248) [Filebeat][httpjson] Add split_events_by config setting (elastic#19246) ci: disabling packaging job until we fix it (elastic#19481) Fix golang.org/x/tools to release1.13 (elastic#19478) ...
…regions (elastic#19423) * add params `aws_partition` to support other aws region: aws-cn, aws-us-gov
What does this PR do?
This PR is to add a parameter
aws_partition
for metricbeat aws cloudwatch module, so metricbeat can support aws china and aws us-gov account.Why is it important?
Because there are three partitions
aws, aws-cn, aws-us-gov
of aws regions, now metricbeat can only support aws global region, here is a hardcode.beats/x-pack/metricbeat/module/aws/aws.go
Lines 95 to 100 in 5ba7026
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
aws_partition
param in aws module configRelated issues
Use cases
Screenshots
aws global account, set
aws_partition: aws
in aws module config or remove the paramaws china account, set
aws_partition: aws-cn
in aws module config