Skip to content

Commit

Permalink
Merge branch 'master' into obs-registry-context
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Jun 14, 2020
2 parents f2d58df + 4295dfe commit aa6a94d
Show file tree
Hide file tree
Showing 436 changed files with 52,706 additions and 73,526 deletions.
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ library 'kibana-pipeline-library'
kibanaLibrary.load()

kibanaPipeline(timeoutMinutes: 155, checkPrChanges: true) {
ciStats.trackBuild {
githubPr.withDefaultPrComments {
githubPr.withDefaultPrComments {
ciStats.trackBuild {
catchError {
retryable.enable()
parallel([
Expand Down Expand Up @@ -53,10 +53,10 @@ kibanaPipeline(timeoutMinutes: 155, checkPrChanges: true) {
])
}
}
}

if (params.NOTIFY_ON_FAILURE) {
slackNotifications.onFailure()
kibanaPipeline.sendMail()
}
if (params.NOTIFY_ON_FAILURE) {
slackNotifications.onFailure()
kibanaPipeline.sendMail()
}
}
2 changes: 1 addition & 1 deletion docs/api/saved-objects/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ experimental[] Create {kib} saved objects.

`POST <kibana host>:<port>/api/saved_objects/<type>/<id>`

`POST <kibana host>:<port>/s/<space_id>/saved_objects/<type>`
`POST <kibana host>:<port>/s/<space_id>/api/saved_objects/<type>`

[[saved-objects-api-create-path-params]]
==== Path parameters
Expand Down
Binary file modified docs/apm/images/apm-alert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/apm/images/apm-geo-ui.jpg
Binary file not shown.
Binary file added docs/apm/images/apm-geo-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/apm/images/service-maps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/apm/machine-learning.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[role="xpack"]
[[machine-learning-integration]]
=== Machine Learning integration
=== integration

++++
<titleabbrev>Integrate with machine learning</titleabbrev>
Expand Down
2 changes: 1 addition & 1 deletion docs/apm/transactions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The transaction overview page is customized for the JavaScript RUM Agent.
This page highlights things like *page load times*, *transactions per minute*, and even the *average page load duration distribution by country*.

[role="screenshot"]
image::apm/images/apm-geo-ui.jpg[average page load duration distribution]
image::apm/images/apm-geo-ui.png[average page load duration distribution]

This data is available due to the geo-ip and user agent pipelines being enabled by default,
which allows for the capture of geo-location and user agent data.
Expand Down
2 changes: 1 addition & 1 deletion docs/canvas/canvas-tutorial.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ For this tutorial, you'll need to add the <<add-sample-data, Sample eCommerce or

Your first step to working with Canvas is to create a workpad.

. Open the menu, then click *Kibana > Canvas*.
. Open the menu, then go to *Canvas*.

. On the *Canvas workpads* page, click *Create workpad*.

Expand Down
12 changes: 9 additions & 3 deletions docs/canvas/canvas-workpad.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ To create a workpad, choose one of the following options:

To use the background colors, images, and data of your choice, start with a blank workpad.

. On the *Canvas workpads* page, click *Create workpad*.
. Open the menu, then go to *Canvas*.

. On the *Canvas workpads* view, click *Create workpad*.

. Add a *Name* to your workpad.

Expand All @@ -41,7 +43,9 @@ image::images/canvas-background-color-picker.png[Canvas color picker]

If you're unsure about where to start, you can use one of the preconfigured templates that come with Canvas.

. On the *Canvas workpads* page, select *Templates*.
. Open the menu, then go to *Canvas*.

. On the *Canvas workpads* view, select *Templates*.

. Click the preconfigured template that you want to use.

Expand All @@ -53,7 +57,9 @@ If you're unsure about where to start, you can use one of the preconfigured temp

When you want to use a workpad that someone else has already started, import the JSON file into Canvas.

To import a workpad, go to the *Canvas workpads* page, then click and drag the file to the *Import workpad JSON file* field.
. Open the menu, then go to *Canvas*.

. On the *Canvas workpads* view, click and drag the file to the *Import workpad JSON file* field.

[float]
[[sample-data-workpad]]
Expand Down
2 changes: 1 addition & 1 deletion docs/dev-tools/console/console.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Console enables you to interact with the REST API of {es}. You can:
* View API documentation
* Get your request history

To get started, go to *Dev Tools > Console*.
To get started, open the menu, go to *Dev Tools*, then click *Console*.

[role="screenshot"]
image::dev-tools/console/images/console.png["Console"]
Expand Down
Binary file modified docs/dev-tools/console/images/console-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev-tools/console/images/console.png
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.
Binary file modified docs/dev-tools/grokdebugger/images/grok-debugger-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/dev-tools/grokdebugger/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ is automatically enabled in {kib}.
NOTE: If you're using {security}, you must have the `manage_pipeline`
permission to use the Grok Debugger.

. In the side navigation, click *DevTools*, then open the *Grok Debugger*.
. Open the menu, go to *Dev Tools*, then click *Grok Debugger*.
. In *Sample Data*, enter a message that is representative of the data that you
want to parse. For example:
+
Expand Down
Binary file modified docs/dev-tools/painlesslab/images/painless-lab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/dev-tools/painlesslab/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ process {ref}/docs-reindex.html[reindexed data], define complex
<<watcher-create-advanced-watch, Watcher conditions>>,
and work with data in other contexts.

To get started, go to *Dev Tools > Painless Lab*.
To get started, open the menu, go to *Dev Tools*, then click *Painless Lab*.

image::dev-tools/painlesslab/images/painless-lab.png[Painless Lab]
6 changes: 3 additions & 3 deletions docs/dev-tools/searchprofiler/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[[profiler-getting-started]]
=== Getting Started

The {searchprofiler} is automatically enabled in {kib}. Go to *Dev Tools > Search Profiler*
The {searchprofiler} is automatically enabled in {kib}. From the menu, go to *Dev Tools*, then click *Search Profiler*
to get started.

{searchprofiler} displays the names of the indices searched, the shards in each index,
Expand All @@ -11,10 +11,10 @@ with the query you want to profile and click *Profile*.

The following example shows the results of profiling the `match_all` query.
If we take a closer look at the information for the `.kibana_1` sample index, the
Cumulative Time field shows us that the query took 0.067ms to execute.
Cumulative Time field shows us that the query took 1.279ms to execute.

[role="screenshot"]
image::dev-tools/searchprofiler/images/query.png["{searchprofiler} example"]
image::dev-tools/searchprofiler/images/overview.png["{searchprofiler} example"]


[NOTE]
Expand Down
Binary file modified docs/dev-tools/searchprofiler/images/filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev-tools/searchprofiler/images/gs10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev-tools/searchprofiler/images/gs8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev-tools/searchprofiler/images/overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev-tools/searchprofiler/images/pasting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/dev-tools/searchprofiler/images/query.png
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,13 @@ Constructs a new instance of the `IndexPattern` class
<b>Signature:</b>

```typescript
constructor(id: string | undefined, getConfig: any, savedObjectsClient: SavedObjectsClientContract, apiClient: IIndexPatternsApiClient, patternCache: PatternCache, fieldFormats: FieldFormatsStartCommon, onNotification: OnNotification, onError: OnError);
constructor(id: string | undefined, { getConfig, savedObjectsClient, apiClient, patternCache, fieldFormats, onNotification, onError, }: IndexPatternDeps);
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| id | <code>string &#124; undefined</code> | |
| getConfig | <code>any</code> | |
| savedObjectsClient | <code>SavedObjectsClientContract</code> | |
| apiClient | <code>IIndexPatternsApiClient</code> | |
| patternCache | <code>PatternCache</code> | |
| fieldFormats | <code>FieldFormatsStartCommon</code> | |
| onNotification | <code>OnNotification</code> | |
| onError | <code>OnError</code> | |
| { getConfig, savedObjectsClient, apiClient, patternCache, fieldFormats, onNotification, onError, } | <code>IndexPatternDeps</code> | |

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare class IndexPattern implements IIndexPattern
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(id, getConfig, savedObjectsClient, apiClient, patternCache, fieldFormats, onNotification, onError)](./kibana-plugin-plugins-data-public.indexpattern._constructor_.md) | | Constructs a new instance of the <code>IndexPattern</code> class |
| [(constructor)(id, { getConfig, savedObjectsClient, apiClient, patternCache, fieldFormats, onNotification, onError, })](./kibana-plugin-plugins-data-public.indexpattern._constructor_.md) | | Constructs a new instance of the <code>IndexPattern</code> class |
## Properties
Expand Down
Binary file modified docs/discover/images/read-only-badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/discover/search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ To save the current search:
. Click *Save* in the Kibana toolbar.
. Enter a name for the search and click *Save*.

You can import, export and delete saved searches from *Management/Kibana/Saved Objects*.
To import, export and delete saved searches:
. Open the menu, then click *Stack Management.
. From the {kib} menu, click *Saved Ojbects*.

==== Open a saved search
To load a saved search into Discover:
Expand Down
Binary file added docs/getting-started/images/add-sample-data.png
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.
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.
File renamed without changes
41 changes: 18 additions & 23 deletions docs/getting-started/tutorial-dashboard.asciidoc
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[[tutorial-dashboard]]
=== Add visualizations to a dashboard
=== Add the visualizations to a dashboard

A dashboard is a collection of visualizations that you can arrange and share.
You'll build a dashboard that contains the visualizations and map that you saved during
Build a dashboard that contains the visualizations and map that you saved during
this tutorial.

. Open *Dashboard*.
. On the Dashboard overview page, click *Create new dashboard*.
. Open the menu, go to *Dashboard*, then click *Create dashboard*.
. Set the time filter to May 18, 2015 to May 20, 2015.
. Click *Add* in the menu bar.
. Add *Bar Example*, *Map Example*, *Markdown Example*, and *Pie Example*.
. Click *Add*, then select the following:
* *Bar Example*
* *Map Example*
* *Markdown Example*
* *Pie Example*
+
Your sample dashboard should look like this:
Your sample dashboard looks like this:
+
[role="screenshot"]
image::images/tutorial-dashboard.png[]
Expand All @@ -32,27 +33,21 @@ but sometimes you need to look at the actual data to
understand what's really going on. You can inspect the data behind any visualization
and view the {es} query used to retrieve it.

. In the dashboard, hover the pointer over the pie chart, and then click the icon in the upper right.
. From the *Options* menu, select *Inspect*.
. Click the pie chart *Options* menu, then select *Inspect*.
+
[role="screenshot"]
image::images/tutorial-full-inspect1.png[]

. To look at the query used to fetch the data for the visualization, select *View > Requests*
in the upper right of the Inspect pane.
. To look at the query used to fetch the data for the visualization, select *View > Requests*.

[float]
=== Next steps

Now that you have a handle on the basics, you're ready to start exploring
your own data with Kibana.

* See {kibana-ref}/discover.html[Discover] for information about searching and filtering
your data.
* See {kibana-ref}/visualize.html[Visualize] for information about the visualization
types Kibana has to offer.
* See {kibana-ref}/management.html[Management] for information about configuring Kibana
and managing your saved objects.
* See {kibana-ref}/console-kibana.html[Console] to learn about the interactive
console you can use to submit REST requests to Elasticsearch.
Now that you have the basics, you're ready to start exploring
your own data with {kib}.

* To learn about searching and filtering your data, refer to {kibana-ref}/discover.html[Discover].
* To learn about the visualization types {kib} has to offer, refer to {kibana-ref}/visualize.html[Visualize].
* To learn about configuring {kib} and managing your saved objects, refer to {kibana-ref}/management.html[Management].
* To learn about the interactive console you can use to submit REST requests to {es}, refer to {kibana-ref}/console-kibana.html[Console].

20 changes: 10 additions & 10 deletions docs/getting-started/tutorial-define-index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,35 @@ First you'll create index patterns for the Shakespeare data set, which has an
index named `shakespeare,` and the accounts data set, which has an index named
`bank`. These data sets don't contain time series data.

. In Kibana, open *Management*, and then click *Index Patterns.*
. If this is your first index pattern, the *Create index pattern* page opens automatically.
. Open the menu, then go to *Stack Management > {kib} > Index Patterns*.
. If this is your first index pattern, the *Create index pattern* page opens.
Otherwise, click *Create index pattern*.
. Enter `shakes*` in the *Index pattern* field.
. In the *Index pattern field*, enter `shakes*`.
+
[role="screenshot"]
image::images/tutorial-pattern-1.png[]

. Click *Next step*.
. In *Configure settings*, click *Create index pattern*.
. Select the *Time Filter field name*, then click *Create index pattern*.
+
You’re presented a table of all fields and associated data types in the index.

. Return to the *Index patterns* overview page and define a second index pattern named `ba*`.
. Return to the *Index patterns* page and create a second index pattern named `ba*`.

[float]
==== Create an index pattern for time series data
==== Create an index pattern for the time series data

Now create an index pattern for the Logstash index, which
contains time series data.
Create an index pattern for the Logstash index, which
contains the time series data.

. Define an index pattern named `logstash*`.
. Click *Next step*.
. Open the *Time Filter field name* dropdown and select *@timestamp*.
. From the *Time Filter field name* dropdown, select *@timestamp*.
. Click *Create index pattern*.

NOTE: When you define an index pattern, the indices that match that pattern must
exist in Elasticsearch and they must contain data. To check which indices are
available, go to *Dev Tools > Console* and enter `GET _cat/indices`. Alternately, use
available, open the menu, then go to *Dev Tools > Console* and enter `GET _cat/indices`. Alternately, use
`curl -XGET "http://localhost:9200/_cat/indices"`.


Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started/tutorial-discovering.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ Using *Discover*, enter
an {ref}/query-dsl-query-string-query.html#query-string-syntax[Elasticsearch
query] to search your data and filter the results.

. Open *Discover*.
. Open the menu, then go to *Discover*.
+
The `shakes*` index pattern appears.

. To make `ba*` the current index, click the index pattern dropdown, then select `ba*`.
. To make `ba*` the index, click the *Change Index Pattern* dropdown, then select `ba*`.
+
By default, all fields are shown for each matching document.

. In the search field, enter:
. In the *Search* field, enter the following:
+
[source,text]
account_number<100 AND balance>47500
Expand All @@ -25,7 +25,7 @@ excess of 47,500. Results appear for account numbers 8, 32, 78, 85, and 97.
image::images/tutorial-discover-2.png[]
+
. Hover over the list of *Available fields*, then
click *add* next to each field you want include as a column in the table.
click *Add* next to each field you want include in the table.
+
For example, when you add the `account_number` field, the display changes to a list of five
account numbers.
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/tutorial-full-experience.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ You must also have the `create`, `manage` `read`, `write,` and `delete`
index privileges. See {ref}/security-privileges.html[Security privileges]
for more information.

In Kibana *Dev Tools > Console*, set up a mapping for the Shakespeare data set:
Open *Dev Tools*. On the *Console* page, set up a mapping for the Shakespeare data set:

[source,js]
PUT /shakespeare
Expand Down
Loading

0 comments on commit aa6a94d

Please sign in to comment.