Skip to content

Commit

Permalink
[DOCS] Fixes Dashboard formatting (elastic#90485) (elastic#90683)
Browse files Browse the repository at this point in the history
* [DOCS] Fixes Dashboard formatting

* Fixes the semi-structured search example

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
  • Loading branch information
KOTungseth and wylieconlon authored Feb 8, 2021
1 parent 8e5ccbf commit bac8bea
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docs/user/dashboard/dashboard.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,17 @@ image::dashboard/images/dashboard-filters.png[Labeled interface with semi-struct
Semi-structured search::
Combine free text search with field-based search using the <<kuery-query,{kib} Query Language>>.
Type a search term to match across all fields, or begin typing a field name to
get prompted with field names and operators you can use to build a structured query.
+
get prompted with field names and operators you can use to build a structured query.
For example, in the sample web logs data, this query displays data only for the US:

. Enter `g`, and then select *geo.source*.
. Select *equals some value* and *US*, and then click *Update*.
. Enter `g`, then select *geo.source*.
. Select *equals some value* and *US*, then click *Update*.
. For a more complex search, try:

`geo.src : "US" and url.keyword : "https://www.elastic.co/downloads/beats/metricbeat"`
[source,text]
-------------------
geo.src : "US" and url.keyword : "https://www.elastic.co/downloads/beats/metricbeat"
-------------------

Time filter::
Dashboards have a global time filter that restricts the data that displays, but individual panels can
Expand All @@ -152,21 +154,18 @@ Time filter::
. Open the panel menu, then select *More > Customize time range*.

. On the *Customize panel time range* window, specify the new time range, then click *Add to panel*.

[role="screenshot"]
image:images/time_range_per_panel.gif[Time range per dashboard panel]

Additional filters with AND::
You can add filters to a dashboard, or pin filters to multiple places in {kib}. To add filters, using a basic editor or an advanced JSON editor for the {es} {ref}/query-dsl.html[query DSL].

Add filters to a dashboard, or pin filters to multiple places in {kib}. To add filters, using a basic editor or an advanced JSON editor for the {es} {ref}/query-dsl.html[query DSL].
When you use more than one index pattern on a dashboard, the filter editor allows you to filter only one dashboard.

To dynamically add filters, click a series on a dashboard. For example, to filter the dashboard to display only ios data:

. Click *Add filter*.
. Set *Field* to *machine.os*, *Operator* to *is*, and *Value* to *ios*.
. *Save* the filter.
. To remove the filter, click *x* next to the filter.
. To remove the filter, click *x*.

[float]
[[clone-panels]]
Expand Down

0 comments on commit bac8bea

Please sign in to comment.