Nested fields
Closed this issue · 1 comments
igalarzab commented
Can this plugin create nested fields, so the ec2 metadata is not spread through the _source
, but everything is created inside of a nested object?
This:
{
"ec2": {
"ip": "1.2.3.4",
"az": "eu-west-1"
}
}
Instead of this:
{
"ec2_ip": "1.2.3.4",
"ec2_az": "eu-west-1"
}
This is the current configuration we have, but it's not nesting the output:
<filter **>
@type ec2_metadata
<record>
ec2.instance_id ${instance_id}
ec2.private_ip ${private_ip}
ec2.az ${availability_zone}
</record>
</filter>
Thanks!
cosmo0920 commented
This feature is not supported.