Skip to content

Commit e3d59fd

Browse files
committed
filter_aws: add more IMDS categories
Signed-off-by: commiterate <[email protected]>
1 parent 20bf74f commit e3d59fd

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

pipeline/filters/aws-metadata.md

+21-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,20 @@ The plugin supports the following configuration parameters:
99
| Key | Description | Default |
1010
| :--- | :--- | :--- |
1111
| imds\_version | Specify which version of the instance metadata service to use. Valid values are 'v1' or 'v2'. | v2 |
12-
| az | The [availability zone](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html); for example, "us-east-1a". | true |
12+
| partition | The [partition](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html), such as `"aws"`. | false |
13+
| domain | The domain for AWS resources in the region, such as `"amazonaws.com"`. | false |
14+
| region | The [region](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions), such as `"us-east-1"`. | false |
15+
| az | The [availability zone](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones), such as `"us-east-1a"`. | true |
16+
| az\_id | The [availability zone ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#az-ids), such as `"use1-az1"`. | false |
17+
| placement\_group | The [placement group](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) name. | false |
18+
| partition\_number | The [placement group](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) partition number. | false |
19+
| host\_id | The [dedicated host](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html) ID. | false |
1320
| ec2\_instance\_id | The EC2 instance ID. | true |
1421
| ec2\_instance\_type | The EC2 instance type. | false |
15-
| private\_ip | The EC2 instance private ip. | false |
16-
| ami\_id | The EC2 instance image id. | false |
22+
| private\_ip | The EC2 instance private IPv4 address. | false |
23+
| public\_ip | The EC2 instance public IPv4 address. | false |
24+
| ipv6 | The EC2 instance IPv6 address. | false |
25+
| ami\_id | The EC2 instance image ID. | false |
1726
| account\_id | The account ID for current EC2 instance. | false |
1827
| hostname | The hostname for current EC2 instance. | false |
1928
| vpc\_id | The VPC ID for current EC2 instance. | false |
@@ -45,10 +54,19 @@ $ bin/fluent-bit -c /PATH_TO_CONF_FILE/fluent-bit.conf
4554
Name aws
4655
Match *
4756
imds_version v1
57+
partition true
58+
domain true
59+
region true
4860
az true
61+
az_id true
62+
placement_group true
63+
partition_number true
64+
host_id true
4965
ec2_instance_id true
5066
ec2_instance_type true
5167
private_ip true
68+
public_ip true
69+
ipv6 true
5270
ami_id true
5371
account_id true
5472
hostname true

0 commit comments

Comments
 (0)