Time & Date Query Functions

Humio's query functions take a set of events, parameters, or configurations; and produce, reduce, or modify values within that set, or within the events themselves within the query pipeline.

time:dayOfMonth()Gets the day of the month of a timestamp field.
time:dayOfWeek()Gets day of week from 1 (Mon) to 7 (Sun) of a timestamp.
time:dayOfWeekName()Gets the English display name of day of the week of a timestamp field.
time:dayOfYear()Gets the day of the year of a timestamp field, from 1 to 365, or 366 in a leap year.
time:hour()Gets the hour (24-hour clock) of a timestamp field.
time:millisecond()Gets the millisecond of a timestamp field.
time:minute()Gets the minute value of a timestamp field.
time:month()Gets the month of a timestamp field (from 1 to 12).
time:monthName()Gets the English name of month of a timestamp field (e.g., January).
time:second()Gets the second of a timestamp field.
time:weekOfYear()Gets the week number within a year of a timestamp, a value from 1 to 53.
time:year()Gets the year of a timestamp field.

Table: Time & Date Query Functions