Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
[DOCS] Updates time picker content in Discover doc (elastic#46516) (e…
Browse files Browse the repository at this point in the history
…lastic#46602)

* [DOCS] Updates time picker content in Discover doc

* [DOCS] Incorporates review comments in time filter doc
  • Loading branch information
gchaps authored Sep 25, 2019
1 parent 64732a6 commit c75678f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions docs/discover/set-time-filter.asciidoc
Original file line number Diff line number Diff line change
@@ -1,46 +1,47 @@
[[set-time-filter]]
== Setting the time filter
The time filter restricts the search results to a specific time period. You can
You can
set a time filter if your index contains time-based events and a time-field is
configured for the selected index pattern.
By default, the time filter is set to the last 15 minutes. You can use the time
picker to change the time filter, or select a specific time
range in the histogram.

By default the time filter is set to the last 15 minutes. You can use the time
picker to change the time filter, or select a specific time interval or time
range in the histogram at the top of the page.
[role="screenshot"]

[float]
=== Filtering with the time picker

You can specify a time filter in one of four ways:
=== Filter with the time picker

* *Quick*. Click your desired time window from the options listed.
* *Relative*. Specify a time filter relative to the current time. You can
specify the end time relative to the current time. Relative times can be in the past or future.
* *Absolute*. Specify both the start and end times for the time filter. You can
adjust the time by editing the *To* and *From* fields.
* *Recent*. Click one of the times from your list of recently used time filters.
To quickly select from popular time range options, click the calendar
dropdown image:infrastructure/images/time-filter-calendar.png[].

[role="screenshot"]
image::images/Timepicker-View.png[Time picker menu]

With the time picker, you can choose from:

* *Quick select* to choose a recent time range, and use the back and forward arrows to move through the time ranges.
* *Commonly used* to choose a time range from options such as *Last 15 minutes*, *Today*, and *Week to date*.
* *Refresh every* to specify an auto-refresh rate.

For control over the start and end times,
click the start time or end time in
the bar next to the calendar dropdown. In this popup,
you can select *Absolute*, *Relative* or *Now*,
and then specify the required options.


[float]
=== Filtering from the histogram
=== Filter from the histogram

You can set a time filter from the histogram in one of two ways:
You can set a time filter from the histogram in two ways:

* Click the bar that represents the time interval you want to zoom in on.
* Click and drag to view a specific timespan. You must start the selection with
the cursor over the background of the chart--the cursor changes to a plus sign
when you hover over a valid start point.

To use a different interval, click the dropdown and select an interval.

[role="screenshot"]
image::images/Histogram-Time.png[Time range selector in Histogram]

More options:

* Use the browser Back button to undo your changes.
* To move forward or backward in time, click the arrows to the left or right of the time rage.
* To use a different interval, click the dropdown and select an interval.


Binary file modified docs/images/Timepicker-View.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c75678f

Please sign in to comment.