[DOCS] Fixes Dashboard formatting (#90485)

* [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>
This commit is contained in:
Kaarina Tungseth 2021-02-08 15:10:23 -06:00 committed by GitHub
parent 3fa76956ac
commit 7a2b7550c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
@ -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]]