upper() Query Function

Upper-cases the contents of a string field.

Parameters

Name

Type

Required

Default

Description

field

string

Yes

The name of the input field with the value to uppercase.

locale

string

No

The name of the locale to use, as ISO 639 language and an optional ISO 3166 country, such as da, da_DK or en_US. When not specified, uses the system locale

as

string

No

_upper

Name of output field.

The implied parameter is field.

Examples

With an event with a field Bar=contents, you get CONTENTS in the _upper field

humio
upper("Bar")

With an event with a field Bar=contents, you get CONTENTS in the Foo field

humio
Foo:=upper("Bar")

With an event with a field Bar=contents, you get CONTENTS in the Foo field

humio
upper("Bar", as="Foo")