Renames a field.

ParameterTypeRequiredDefaultDescription
asstringtrue The new name of the field.
fieldstringtrue The field name to remove. [a]

[a] When you provide only one parameter, the implied parameter is field

Examples

Rename badName to goodName:

humio
rename(field=badName, as=goodName)

Rename badName to goodName, using assignment syntax:

humio
goodName := rename(badName)