forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move s3_daily_storage and s3_request metricsets to use cloudwatch inp…
…ut (elastic#21703)
- Loading branch information
1 parent
c51c70c
commit 28ea348
Showing
18 changed files
with
209 additions
and
581 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ metricsets: | |
- ebs | ||
- usage | ||
- sns | ||
- s3_daily_storage | ||
- s3_request | ||
- lambda | ||
- dynamodb | ||
- vpn | ||
|
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
27 changes: 14 additions & 13 deletions
27
x-pack/metricbeat/module/aws/s3_daily_storage/_meta/data.json
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 was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
x-pack/metricbeat/module/aws/s3_daily_storage/manifest.yml
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
default: true | ||
input: | ||
module: aws | ||
metricset: cloudwatch | ||
defaults: | ||
metrics: | ||
- namespace: AWS/S3 | ||
statistic: ["Average"] | ||
name: | ||
- BucketSizeBytes | ||
- NumberOfObjects | ||
|
||
processors: | ||
- rename: | ||
ignore_missing: true | ||
fields: | ||
- from: "aws.s3.metrics.NumberOfObjects.avg" | ||
to: "aws.s3_daily_storage.number_of_objects" | ||
- from: "aws.s3.metrics.BucketSizeBytes.avg" | ||
to: "aws.s3_daily_storage.bucket.size.bytes" | ||
- from: "aws.dimensions.BucketName" | ||
to: "aws.s3.bucket.name" |
219 changes: 0 additions & 219 deletions
219
x-pack/metricbeat/module/aws/s3_daily_storage/s3_daily_storage.go
This file was deleted.
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
Oops, something went wrong.