Skip to content

Commit

Permalink
Support Tencent Cloud provider for add_cloud_metadata proccessor (#4023)
Browse files Browse the repository at this point in the history
  • Loading branch information
athom authored and ruflin committed Apr 21, 2017
1 parent fedbab7 commit be99062
Show file tree
Hide file tree
Showing 4 changed files with 287 additions and 52 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ https://github.com/elastic/beats/compare/v5.0.2...v5.1.1[View commits]
- Add add_cloud_metadata processor for collecting cloud provider metadata. {pull}2728[2728]
- Added decode_json_fields processor for decoding fields containing JSON strings. {pull}2605[2605]
- Add Tencent Cloud provider for add_cloud_metadata processor. {pull}4023[4023]
*Metricbeat*
Expand Down
19 changes: 18 additions & 1 deletion libbeat/docs/processors-config.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,12 @@ The `add_cloud_metadata` processor enriches each event with instance metadata
from the machine's hosting provider. At startup it will detect the hosting
provider and cache the instance metadata.

Three cloud providers are supported.
The following cloud providers are supported:

- Amazon Elastic Compute Cloud (EC2)
- Digital Ocean
- Google Compute Engine (GCE)
- https://www.qcloud.com/?lang=en[Tencent Cloud] (QCloud)

The simple configuration below enables the processor.

Expand Down Expand Up @@ -342,6 +343,22 @@ _GCE_
}
-------------------------------------------------------------------------------

_Tencent Clound_

[source,json]
-------------------------------------------------------------------------------
{
"meta": {
"cloud": {
"availability_zone": "gz-azone2",
"instance_id": "ins-qcloudv5",
"provider": "qcloud",
"region": "china-south-gz"
}
}
}
-------------------------------------------------------------------------------

[[add-locale]]
=== add_locale

Expand Down
Loading

0 comments on commit be99062

Please sign in to comment.