fluent-bit-docs
fluent-bit-docs copied to clipboard
Modify on nested fields
Hi, I can't figure out how to apply the 'modify' filter on nested fields. What I need is to transform this:
{
"container": {
"container_name": "string"
}
}
into this:
{
"container": {
"name": "string"
}
}
Could someone help me? Thanks
afaik, nested fields can not modified directly But you can move them up, modify and then move them down again with https://docs.fluentbit.io/manual/pipeline/filters/nest and https://docs.fluentbit.io/manual/pipeline/filters/modify
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.