-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding fix for aws tags of cloudwatch * updating docs * Update x-pack/metricbeat/module/aws/cloudwatch/cloudwatch_test.go Co-authored-by: kaiyan-sheng <[email protected]> * Update x-pack/metricbeat/module/aws/cloudwatch/cloudwatch.go Co-authored-by: kaiyan-sheng <[email protected]> * adding a validation for the LimitRestAPI * setting to max limit to 500 * setting to max limit to 500 * removing uneeded sdk --------- Co-authored-by: kaiyan-sheng <[email protected]> (cherry picked from commit a547473) Co-authored-by: Andrew Gizas <[email protected]>
- Loading branch information
1 parent
e812b2a
commit 1c5a0c8
Showing
10 changed files
with
653 additions
and
39 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,6 +146,25 @@ Enforces the use of FIPS service endpoints. See <<aws-credentials-config,AWS cre | |
- ec2 | ||
---- | ||
|
||
* *apigateway_max_results* | ||
|
||
This configuration works together with AWS/APIGateway namespace. It defines the maximum number of returned results per page. The default value is 25 and the maximum value is 500. | ||
See https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]#GetRestApisInput.Limit[GetRestApisInput.Limit] | ||
|
||
[source,yaml] | ||
---- | ||
- module: aws | ||
period: 10s | ||
regions: | ||
- us-east-1 | ||
metricsets: | ||
- cloudwatch | ||
metrics: | ||
- namespace: "AWS/ApiGateway" | ||
resource_type: "apigateway:restapis" | ||
apigateway_max_results: 40 | ||
---- | ||
|
||
The aws module comes with a predefined dashboard. For example: | ||
|
||
image::./images/metricbeat-aws-overview.png[] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,6 +134,25 @@ Enforces the use of FIPS service endpoints. See <<aws-credentials-config,AWS cre | |
- ec2 | ||
---- | ||
|
||
* *apigateway_max_results* | ||
|
||
This configuration works together with AWS/APIGateway namespace. It defines the maximum number of returned results per page. The default value is 25 and the maximum value is 500. | ||
See https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]#GetRestApisInput.Limit[GetRestApisInput.Limit] | ||
|
||
[source,yaml] | ||
---- | ||
- module: aws | ||
period: 10s | ||
regions: | ||
- us-east-1 | ||
metricsets: | ||
- cloudwatch | ||
metrics: | ||
- namespace: "AWS/ApiGateway" | ||
resource_type: "apigateway:restapis" | ||
apigateway_max_results: 40 | ||
---- | ||
|
||
The aws module comes with a predefined dashboard. For example: | ||
|
||
image::./images/metricbeat-aws-overview.png[] | ||
|
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
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
Oops, something went wrong.