Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Updates time picker content in Discover doc #46516

Merged
merged 2 commits into from
Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

back or backward?

* *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.