Rename Fields
Rename event fields with the rename action.
name: example-rename-fields
input:
echo:
json: true
event: |
{"initialField": "initialValue"}
actions:
- rename:
fields:
- initialField: renamedField
output:
print: STDOUT
# output:
# {
# "renamedField": "initialValue"
# }