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.
[Metricbeat] Add vpc metricset for aws module (elastic#16111)
* Add vpn into vpc metricset * Add NATGateway and TrasitGateway
- Loading branch information
1 parent
421fd91
commit 6e79791
Showing
13 changed files
with
333 additions
and
2 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
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,24 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-aws-vpc]] | ||
=== aws vpc metricset | ||
|
||
beta[] | ||
|
||
include::../../../../x-pack/metricbeat/module/aws/vpc/_meta/docs.asciidoc[] | ||
|
||
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default. | ||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-aws,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../../x-pack/metricbeat/module/aws/vpc/_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
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 |
---|---|---|
|
@@ -7,3 +7,4 @@ metricsets: | |
- sns | ||
- lambda | ||
- dynamodb | ||
- vpc |
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,74 @@ | ||
{ | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"aws": { | ||
"cloudwatch": { | ||
"namespace": "AWS/NATGateway" | ||
}, | ||
"dimensions": { | ||
"NatGatewayId": "nat-0a5cb7b9807908cc0" | ||
}, | ||
"natgateway": { | ||
"metrics": { | ||
"ActiveConnectionCount": { | ||
"max": 0 | ||
}, | ||
"BytesInFromDestination": { | ||
"sum": 0 | ||
}, | ||
"BytesInFromSource": { | ||
"sum": 0 | ||
}, | ||
"BytesOutToDestination": { | ||
"sum": 0 | ||
}, | ||
"BytesOutToSource": { | ||
"sum": 0 | ||
}, | ||
"ConnectionAttemptCount": { | ||
"sum": 0 | ||
}, | ||
"ConnectionEstablishedCount": { | ||
"sum": 0 | ||
}, | ||
"ErrorPortAllocation": { | ||
"sum": 0 | ||
}, | ||
"PacketsDropCount": { | ||
"sum": 0 | ||
}, | ||
"PacketsInFromDestination": { | ||
"sum": 0 | ||
}, | ||
"PacketsInFromSource": { | ||
"sum": 0 | ||
}, | ||
"PacketsOutToDestination": { | ||
"sum": 0 | ||
}, | ||
"PacketsOutToSource": { | ||
"sum": 0 | ||
} | ||
} | ||
} | ||
}, | ||
"cloud": { | ||
"account": { | ||
"id": "627959692251", | ||
"name": "elastic-test" | ||
}, | ||
"provider": "aws", | ||
"region": "us-west-2" | ||
}, | ||
"event": { | ||
"dataset": "aws.vpc", | ||
"duration": 115000, | ||
"module": "aws" | ||
}, | ||
"metricset": { | ||
"name": "vpc", | ||
"period": 10000 | ||
}, | ||
"service": { | ||
"type": "aws" | ||
} | ||
} |
Oops, something went wrong.