Timezone

Use Timezone to set the time zone name to output in the query result for the function.

Supported time zones are listed on Supported Time Zones.

Formatting a Time with a Timezone
logscale
formatTime(field=@timestamp, timezone="UTC")
formatTime(field=@timestamp, timezone="America/New_York")
formatTime(field=@timestamp, timezone="Europe/London")
formatTime(field=@timestamp, timezone="Asia/Tokyo")
Parsing a Time with a Timezone
logscale
parseTimestamp(field=time_str, format="yyyy-MM-dd HH:mm:ss", timezone="Europe/Copenhagen")

Functions using this Type: bucket(), dropEvent(), eval(), fieldset(), findTimestamp(), format(), formatTime(), parseLEEF(), setTimeInterval(), time:dayOfMonth(), time:dayOfWeek(), time:dayOfWeekName(), time:dayOfYear(), time:hour(), time:millisecond(), time:minute(), time:month(), time:monthName(), time:second(), time:weekOfYear(), time:year(), timeChart()