-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into follow-ups
- Loading branch information
Showing
304 changed files
with
8,533 additions
and
4,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...ins/data/public/kibana-plugin-plugins-data-public.getsearchparamsfromrequest.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [getSearchParamsFromRequest](./kibana-plugin-plugins-data-public.getsearchparamsfromrequest.md) | ||
|
||
## getSearchParamsFromRequest() function | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare function getSearchParamsFromRequest(searchRequest: SearchRequest, dependencies: { | ||
injectedMetadata: CoreStart['injectedMetadata']; | ||
uiSettings: IUiSettingsClient; | ||
}): { | ||
rest_total_hits_as_int: boolean; | ||
ignore_unavailable: boolean; | ||
ignore_throttled: boolean; | ||
max_concurrent_shard_requests: any; | ||
preference: any; | ||
timeout: string | undefined; | ||
index: any; | ||
body: any; | ||
}; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| searchRequest | <code>SearchRequest</code> | | | ||
| dependencies | <code>{</code><br/><code> injectedMetadata: CoreStart['injectedMetadata'];</code><br/><code> uiSettings: IUiSettingsClient;</code><br/><code>}</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`{ | ||
rest_total_hits_as_int: boolean; | ||
ignore_unavailable: boolean; | ||
ignore_throttled: boolean; | ||
max_concurrent_shard_requests: any; | ||
preference: any; | ||
timeout: string | undefined; | ||
index: any; | ||
body: any; | ||
}` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
[[drilldowns]] | ||
== Use drilldowns for dashboard actions | ||
|
||
Drilldowns, also known as custom actions, allow you to configure a | ||
workflow for analyzing and troubleshooting your data. | ||
Using a drilldown, you can navigate from one dashboard to another, | ||
taking the current time range, filters, and other parameters with you, | ||
so the context remains the same. You can continue your analysis from a new perspective. | ||
|
||
For example, you might have a dashboard that shows the overall status of multiple data centers. | ||
You can create a drilldown that navigates from this dashboard to a dashboard | ||
that shows a single data center or server. | ||
|
||
[float] | ||
[[how-drilldowns-work]] | ||
=== How drilldowns work | ||
|
||
Drilldowns are {kib} actions that you configure and store | ||
in the dashboard saved object. Drilldowns are specific to the dashboard panel | ||
for which you create them—they are not shared across panels. | ||
A panel can have multiple drilldowns. | ||
|
||
This example shows a dashboard panel that contains a pie chart. | ||
Typically, clicking a pie slice applies the current filter. | ||
When a panel has a drilldown, clicking a pie slice opens a menu with | ||
the default action and your drilldowns. Refer to the <<drilldowns-example, Try it section>> | ||
for instructions on how to create this drilldown. | ||
|
||
[role="screenshot"] | ||
image::images/drilldown_on_piechart.gif[Drilldown on pie chart that navigates to another dashboard] | ||
|
||
Third-party developers can create drilldowns. | ||
Refer to https://github.com/elastic/kibana/tree/master/x-pack/examples/ui_actions_enhanced_examples[this example plugin] | ||
to learn how to code drilldowns. | ||
|
||
[float] | ||
[[create-manage-drilldowns]] | ||
=== Create and manage drilldowns | ||
|
||
Your dashboard must be in *Edit* mode to create a drilldown. | ||
Once a panel has at least one drilldown, the menu also includes a *Manage drilldowns* action | ||
for editing and deleting drilldowns. | ||
|
||
[role="screenshot"] | ||
image::images/drilldown_menu.png[Panel menu with Create drilldown and Manage drilldown actions] | ||
|
||
[float] | ||
[[drilldowns-example]] | ||
=== Try it: Create a drilldown | ||
|
||
This example shows how to create the *Host Overview* drilldown shown earlier in this doc. | ||
|
||
[float] | ||
==== Set up the dashboards | ||
|
||
. Add the <<get-data-in, sample web logs>> data set. | ||
|
||
. Create a new dashboard, called `Host Overview`, and include these visualizations | ||
from the sample data set: | ||
+ | ||
[%hardbreaks] | ||
*[Logs] Heatmap* | ||
*[Logs] Visitors by OS* | ||
*[Logs] Host, Visits, and Bytes Table* | ||
*[Logs] Total Requests and Bytes* | ||
+ | ||
TIP: If you don’t see data for a panel, try changing the time range. | ||
|
||
. Open the *[Logs] Web traffic* dashboard. | ||
|
||
. Set a search and filter. | ||
+ | ||
[%hardbreaks] | ||
Search: `extension.keyword:( “gz” or “css” or “deb”)` | ||
Filter: `geo.src : CN` | ||
|
||
[float] | ||
==== Create the drilldown | ||
|
||
|
||
. In the dashboard menu bar, click *Edit*. | ||
|
||
. In *[Logs] Visitors by OS*, open the panel menu, and then select *Create drilldown*. | ||
|
||
. Give the drilldown a name. | ||
|
||
. Select *Host Overview* as the destination dashboard. | ||
|
||
. Keep both filters enabled so that the drilldown carries over the global filters and date range. | ||
+ | ||
Your input should look similar to this: | ||
+ | ||
[role="screenshot"] | ||
image::images/drilldown_create.png[Create drilldown with entries for drilldown name and destination] | ||
|
||
. Click *Create drilldown.* | ||
|
||
. Save the dashboard. | ||
+ | ||
If you don’t save the drilldown, and then navigate away, the drilldown is lost. | ||
|
||
. In *[Logs] Visitors by OS*, click the `win 8` slice of the pie, and then select the name of your drilldown. | ||
+ | ||
[role="screenshot"] | ||
image::images/drilldown_on_panel.png[Drilldown on pie chart that navigates to another dashboard] | ||
+ | ||
You are navigated to your destination dashboard. Verify that the search query, filters, | ||
and time range are carried over. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.