Retrieves a list of available fields.

Note

This function takes no parameters.

fieldset() Examples

Requesting a list of available fields in a repository for HTTP access logs:

logscale
fieldset()

Returns:

@timezone
@timestamp.nanos
@timestamp
@source
@rawstring
@ingesttimestamp
@id
@host
#type
#repo
#humioBackfill

The list of returned fields is context specific; if the field list has been reduce as part of the query, for example by an aggregate function:

logscale
groupBy([#type,@host])
| fieldset()

The return list of fields will be reduced:

_count
@host
#type