rename() Query Function

Renames a field.

Parameters

Name

Type

Required

Default

Description

type

string

No

description

field

string

Yes

The field name to remove.

as

string

Yes

The new name of the field.

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)