time:month() Query Function

Gets the month of a timestamp field. (from 1 to 12)

Parameters

Name

Type

Required

Default

Description

field

string

No

@timestamp

The name of the input field.

as

string

No

_month

The name of the output field.

timezone

string

No

The name of the timezone to use, if not specified the query’s timezone will be used.

timezoneField

string

No

@timezone

The name of the field containing the timezone to use, if not specified the query’s timezone will be used. This is ignored if the timezone parameter is passed as well. If this is not defined the timezone offset of the query will be used.

The implied parameter is field.