Skip to main content

Choose a time range and time zone

Every search covers a time range. This page shows how to set it, which time it is measured against, how to see times in your own time zone, and how to move or zoom the window.

Role needed: Search: Read. The time range and time zone controls need nothing more.

Defaults​

SettingDefault
Time rangeToday: from midnight to 23:59:59 in the displayed time zone
Time column@ingesttimestamp
Time zoneThe time zone the appliance is configured with, until you choose your own
RefreshOff

The time controls sit at the right of the tab bar and belong to the active tab. Search adds the range to your query as a condition, so you never write it yourself.

Set a time range​

  1. Select the date range in the time controls. A panel opens with quick select choices.
  2. Select a range from Commonly used, or one you used earlier from Recently used. To set the range yourself, select the start date or the end date, then choose Absolute to pick a date and time, or Relative to say how long before now.
  3. Select the update button, or Run, to search the range you set. Choosing a quick select range runs the search at once.

The commonly used ranges are:

RangeCovers
Last 1 Minute, Last 3 Minutes, Last 10 Minutes, Last 15 Minutes, Last 30 MinutesThat long before now
Last 1 Hour, Last 3 Hours, Last 6 Hours, Last 12 Hours, Last 24 HoursThat long before now
Last 3 Days, Last Week, Last MonthFrom the start of the day that many days ago (3, 7 or 30) until now
TodayMidnight to the end of today
YesterdayThe whole of the previous day
All TimeEvery event you can see

A wide range over a busy source takes longer to search. Start narrow, then widen it.

Choose the time column​

An event carries two times. @timestamp is the time the source reported. @ingesttimestamp is the time the appliance received it. The time range, the Time column in the event list and the histogram all use the time column you pick.

  1. Open the time range panel.
  2. Under Time Column, choose @timestamp or @ingesttimestamp.

Use @ingesttimestamp when you want events as they arrived. A source's own clock can be wrong or its events can arrive late, and the appliance's clock stays consistent. Use @timestamp when you want the events in the order they happened.

Move the window​

Three buttons beside the date range move the window without retyping it.

ButtonWhat it does
Previous time windowMoves back by the width of the current range.
Zoom outDoubles the width of the range, adding half the width on each side.
Next time windowMoves forward by the width of the current range.

Each button sets an absolute range and runs the search.

Zoom in on the histogram​

For a query that lists events, drag across the bars of the histogram to set the range to that stretch of time. The range becomes Custom and the search runs again. A reset button, Reset interval and zoom, appears; select it to return to the range you had before the zoom.

The list beside the histogram, Histogram interval, sets the width of each bar: Auto, 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 6 hours or 1 day. Auto picks 1 minute for a range of an hour or less, 5 minutes up to 6 hours, 30 minutes up to 24 hours, 1 hour up to 7 days and 1 day for anything wider. Bars with no events show as zero.

Refresh automatically​

To keep a search current, open the time range panel and set Refresh every to an interval, then start it. While it runs, the search repeats on that interval. A relative range, such as Last 15 Minutes, moves forward to now each time. An absolute range is searched again as it is. Refresh is off until you start it, and it stops when you leave the page.

Choose your time zone​

The button at the left of the time controls shows your time zone, usually as an offset and a city, for example +01:00 London. A zone that is not in the list, such as Etc/UTC, is shown by its name.

  1. Select the button.
  2. Type in Filter timezones to find a zone, then select it.

Event times, the histogram and the dates in the picker use that zone. Your choice is saved in your browser and applies to Search, the Case queue, the Case page and Dashboards. It changes only how times are shown. It does not change how long a Case has been open or its SLA. Another person who opens the same Case sees their own zone. A different browser starts with the appliance's time zone again.

Share a range​

A link made with Share can carry the range you used, or the name of a relative range such as Last 24 Hours, so that whoever opens it searches the same window counted back from when they open it. See Save, share and export a search.

Next steps​