drop() Query Function

This is a filter that lets you remove attributes and columns from a result set.

Parameters

Name

Type

Required

Default

Description

fields

[string]

Yes

The names of the fields to discard.

The implied parameter is fields.

Examples

This example shows how to drop the single field called, header:

humio
drop(header)

In this example, it will drop two fields:

humio
drop([header,value])