Skip to content

Commit

Permalink
Merge branch 'master' into ilm/stricter-check-for-use-of-node-roles
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Oct 26, 2020
2 parents 0bbca57 + 82ba41c commit c66396f
Show file tree
Hide file tree
Showing 239 changed files with 3,187 additions and 1,135 deletions.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,9 @@ x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @elastic/kib
**/*.scss @elastic/kibana-design
#CC# /packages/kbn-ui-framework/ @elastic/kibana-design

# Core design
# Core UI design
/src/plugins/dashboard/**/*.scss @elastic/kibana-core-ui-designers
/src/plugins/embeddable/**/*.scss @elastic/kibana-core-ui-designers
/x-pack/plugins/canvas/**/*.scss @elastic/kibana-core-ui-designers
/x-pack/plugins/spaces/**/*.scss @elastic/kibana-core-ui-designers
/x-pack/plugins/security/**/*.scss @elastic/kibana-core-ui-designers
Expand Down
Binary file modified docs/apm/images/advanced-discover.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/troubleshooting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ the values in `http.request.cookies` are not indexed and thus not searchable.

*Ensure an index pattern exists*
As a first step, you should ensure the correct index pattern exists.
In Kibana, navigate to *Management > Kibana > Index Patterns*.
Open the main menu, then click *Stack Management > Index Patterns*.
In the pattern list, you should see an apm index pattern; The default is `apm-*`.
If you don't, the index pattern doesn't exist. See <<no-apm-data-found>> for information on how to fix this problem.

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 go to *Canvas*.
. Open the main menu, then click *Canvas*.

. On the *Canvas workpads* page, click *Create 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, open the menu, go to *Dev Tools*, then click *Console*.
To get started, open the main menu, click *Dev Tools*, then click *Console*.

[role="screenshot"]
image::dev-tools/console/images/console.png["Console"]
Expand Down
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 {stack-security-features}, you must have the `manage_pipeline`
permission to use the Grok Debugger.

. Open the menu, go to *Dev Tools*, then click *Grok Debugger*.
. Open the main menu, click *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
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, open the menu, go to *Dev Tools*, then click *Painless Lab*.
To get started, open the main menu, click *Dev Tools*, then click *Painless Lab*.

image::dev-tools/painlesslab/images/painless-lab.png[Painless Lab]
2 changes: 1 addition & 1 deletion 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}. From the menu, go to *Dev Tools*, then click *Search Profiler*
The {searchprofiler} is automatically enabled in {kib}. Open the main menu, click *Dev Tools*, then click *Search Profiler*
to get started.

{searchprofiler} displays the names of the indices searched, the shards in each index,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ Constructs a new instance of the `IndexPatternsFetcher` class
<b>Signature:</b>

```typescript
constructor(callDataCluster: LegacyAPICaller);
constructor(elasticsearchClient: ElasticsearchClient, allowNoIndices?: boolean);
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| callDataCluster | <code>LegacyAPICaller</code> | |
| elasticsearchClient | <code>ElasticsearchClient</code> | |
| allowNoIndices | <code>boolean</code> | |

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ getFieldsForWildcard(options: {
pattern: string | string[];
metaFields?: string[];
fieldCapsOptions?: {
allowNoIndices: boolean;
allow_no_indices: boolean;
};
}): Promise<FieldDescriptor[]>;
```
Expand All @@ -22,7 +22,7 @@ getFieldsForWildcard(options: {

| Parameter | Type | Description |
| --- | --- | --- |
| options | <code>{</code><br/><code> pattern: string &#124; string[];</code><br/><code> metaFields?: string[];</code><br/><code> fieldCapsOptions?: {</code><br/><code> allowNoIndices: boolean;</code><br/><code> };</code><br/><code> }</code> | |
| options | <code>{</code><br/><code> pattern: string &#124; string[];</code><br/><code> metaFields?: string[];</code><br/><code> fieldCapsOptions?: {</code><br/><code> allow_no_indices: boolean;</code><br/><code> };</code><br/><code> }</code> | |

<b>Returns:</b>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare class IndexPatternsFetcher

| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(callDataCluster)](./kibana-plugin-plugins-data-server.indexpatternsfetcher._constructor_.md) | | Constructs a new instance of the <code>IndexPatternsFetcher</code> class |
| [(constructor)(elasticsearchClient, allowNoIndices)](./kibana-plugin-plugins-data-server.indexpatternsfetcher._constructor_.md) | | Constructs a new instance of the <code>IndexPatternsFetcher</code> class |

## Methods

Expand Down
Binary file modified docs/discover/images/Discover-Start.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 added docs/discover/images/time-filter.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: 1 addition & 3 deletions docs/discover/search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ To save the current search:
. Click *Save* in the Kibana toolbar.
. Enter a name for the search and click *Save*.

To import, export and delete saved searches:
. Open the menu, then click *Stack Management.
. From the {kib} menu, click *Saved Ojbects*.
To import, export, and delete saved searches, open the main menu, then click *Stack Management > Saved Ojbects*.

==== Open a saved search
To load a saved search into Discover:
Expand Down
2 changes: 1 addition & 1 deletion docs/discover/set-time-filter.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ to the last 15 minutes.
* *Refresh every* to specify an automatic refresh rate.
+
[role="screenshot"]
image::images/Timepicker-View.png[Time filter menu]
image::images/time-filter.png[Time filter menu]

. To set the start and end times, click the bar next to the time filter.
In the popup, select *Absolute*, *Relative* or *Now*, then specify the required
Expand Down
Binary file modified docs/fleet/images/fleet-start.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/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.
Binary file modified docs/getting-started/images/tutorial-sample-dashboard.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/getting-started/images/tutorial-sample-filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 11 additions & 10 deletions docs/getting-started/quick-start-guide.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ When you've finished, you'll know how to:
* <<view-and-analyze-the-data,Gain insight into the data with *Dashboard*.>>

[float]
=== Before you begin
When security is enabled, you must have `read`, `write`, and `manage` privileges on the `kibana_sample_data_*` indices. For more information, refer to {ref}/security-privileges.html[Security privileges].
=== Required privileges
When security is enabled, you must have `read`, `write`, and `manage` privileges on the `kibana_sample_data_*` indices.
For more information, refer to {ref}/security-privileges.html[Security privileges].

[float]
[[set-up-on-cloud]]
Expand All @@ -30,15 +31,15 @@ Sample data sets come with sample visualizations, dashboards, and more to help y
. On the *Sample eCommerce orders* card, click *Add data*.
+
[role="screenshot"]
image::getting-started/images/add-sample-data.png[]
image::getting-started/images/add-sample-data.png[Add data UI]

[float]
[[explore-the-data]]
== Explore the data

*Discover* displays an interactive histogram that shows the distribution of of data, or documents, over time, and a table that lists the fields for each document that matches the index. By default, all fields are shown for each matching document.

. Open the menu, then click *Discover*.
. Open the main menu, then click *Discover*.

. Change the <<set-time-filter, time filter>> to *Last 7 days*.
+
Expand Down Expand Up @@ -70,7 +71,7 @@ For more information, refer to <<discover, *Discover*>>.

A dashboard is a collection of panels that you can use to view and analyze the data. Panels contain visualizations, interactive controls, Markdown, and more.

. Open the menu, then click *Dashboard*.
. Open the main menu, then click *Dashboard*.

. Click *[eCommerce] Revenue Dashboard*.
+
Expand All @@ -83,7 +84,7 @@ image::getting-started/images/tutorial-sample-dashboard.png[]

To focus in on the data you want to view on the dashboard, use filters.

. From the *Controls* visualization, make a selection from the *Manufacturer* and *Category* dropdowns, then click *Apply changes*.
. From the *[eCommerce] Controls* panel, make a selection from the *Manufacturer* and *Category* dropdowns, then click *Apply changes*.
+
For example, the following dashboard shows the data for women's clothing from Gnomehouse.
+
Expand All @@ -103,11 +104,11 @@ For more information, refer to <<dashboard,*Dashboard*>>.

[float]
[[create-a-visualization]]
=== Create a visualization
=== Create a visualization panel

To create a treemap that shows the top regions and manufacturers, use *Lens*, then add the treemap to the dashboard.
To create a treemap panel that shows the top regions and manufacturers, use *Lens*, then add the treemap panel to the dashboard.

. From the {kib} toolbar, click *Edit*, then click *Create new*.
. From the toolbar, click *Edit*, then click *Create new*.

. On the *New Visualization* window, click *Lens*.

Expand All @@ -126,7 +127,7 @@ image::getting-started/images/tutorial-visualization-dropdown.png[Visualization

. On the *Save Lens visualization*, enter a title and make sure *Add to Dashboard after saving* is selected, then click *Save and return*.
+
The treemap appears as the last visualization on the dashboard.
The treemap appears as the last visualization panel on the dashboard.
+
[role="screenshot"]
image::getting-started/images/tutorial-final-dashboard.gif[Final dashboard with new treemap visualization]
Expand Down
2 changes: 1 addition & 1 deletion docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ behavior of Kibana. For example, you can change the format used to display dates
specify the default index pattern, and set the precision for displayed decimal
values.

. Open the menu, then go to *Stack Management > {kib} > Advanced Settings*.
. Open the main menu, then click *Stack Management > Advanced Settings*.
. Scroll or search for the setting you want to modify.
. Enter a new value for the setting.
. Click *Save changes*.
Expand Down
4 changes: 2 additions & 2 deletions docs/management/alerting/alerts-and-actions-intro.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ beta[]

The *Alerts and Actions* UI lets you <<alert-management, see and control all the alerts>> in a space, and provides tools to <<connector-management, create and manage connectors>> so that alerts can trigger actions like notification, indexing, and ticketing.

To manage alerting and connectors, open the menu,
then go to *Stack Management > Alerts and Insights > Alerts and Actions*.
To manage alerting and connectors, open the main menu,
then click *Stack Management > Alerts and Insights > Alerts and Actions*.

[role="screenshot"]
image:management/alerting/images/alerts-and-actions-ui.png[Example alert listing in the Alerts and Actions UI]
Expand Down
4 changes: 2 additions & 2 deletions docs/management/index-patterns.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ image::images/management-index-read-only-badge.png[Example of Index Pattern Mana
[[settings-create-pattern]]
=== Create an index pattern

When you don't have an index pattern, {kib} prompts you to create one. Or, you can open the menu,
then go to *Stack Management > {kib} > Index Patterns* to go directly to the *Index Patterns* UI.
When you don't have an index pattern, {kib} prompts you to create one. Or, you can open the main menu,
then click *Stack Management > Index Patterns*.

[role="screenshot"]
image:management/index-patterns/images/rollup-index-pattern.png["Menu with rollup index pattern"]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/management/ingest-pipelines/ingest-pipelines.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pipelines that perform common transformations and
enrichments on your data. For example, you might remove a field,
rename an existing field, or set a new field.

You’ll find *Ingest Node Pipelines* in *Stack Management > Ingest*. With this feature, you can:
To begin, open the main menu, then click *Stack Management > Ingest Node Pipelines*. With *Ingest Node Pipelines*, you can:

* View a list of your pipelines and drill down into details.
* Create a pipeline that defines a series of tasks, known as processors.
Expand All @@ -23,7 +23,7 @@ image:management/ingest-pipelines/images/ingest-pipeline-list.png["Ingest node p
The minimum required permissions to access *Ingest Node Pipelines* are
the `manage_pipeline` and `cluster:monitor/nodes/info` cluster privileges.

You can add these privileges in *Stack Management > Security > Roles*.
To add privileges, open the main menu, then click *Stack Management > Roles*.

[role="screenshot"]
image:management/ingest-pipelines/images/ingest-pipeline-privileges.png["Privileges required for Ingest Node Pipelines"]
Expand Down
6 changes: 3 additions & 3 deletions docs/management/managing-beats.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

include::{asciidoc-dir}/../../shared/discontinued.asciidoc[tag=cm-discontinued]

To use {beats} Central Management UI, open the menu, go to *Stack Management > Ingest >
To use {beats} Central Management, open the main menu, click *Stack Management >
{beats} Central Management*, then define and
manage configurations in a central location in {kib} and quickly deploy
configuration changes to all {beats} running across your enterprise. For more
Expand All @@ -18,8 +18,8 @@ about central management, see the related {beats} documentation:
This feature requires an Elastic license that includes {beats} central
management.
Don't have a license? You can start a 30-day trial. Open the menu,
go to *Stack Management > Stack > License Management*. At the end of the trial
Don't have a license? You can start a 30-day trial. Open the main menu, then
click *Stack Management > License Management*. At the end of the trial
period, you can purchase a subscription to keep using central management. For
more information, see https://www.elastic.co/subscriptions and
<<managing-licenses>>.
Expand Down
2 changes: 1 addition & 1 deletion docs/management/managing-fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ https://www.elastic.co/blog/using-painless-kibana-scripted-fields[Using Painless
[[create-scripted-field]]
=== Create a scripted field

. Open the menu, then go to *Stack Management > {kib} > Index Patterns*
. Open the main menu, then click *Stack Management > Index Patterns*.
. Select the index pattern you want to add a scripted field to.
. Go to the *Scripted fields* tab for the index pattern, then click *Add scripted field*.
. Enter a name for the scripted field.
Expand Down
10 changes: 1 addition & 9 deletions docs/management/managing-indices.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,7 @@ way possible.

This page shows you how to use *Index Management* features to:

* View and edit index settings.
* View mappings and statistics for an index.
* Perform index-level operations, such as refreshes and freezes.
* View and manage data streams.
* Create index templates to automatically configure new data streams and
indices.

To manage your indices, open the menu, then click *Stack Management > Index
Management*.
To manage your indices, open the main menu, then click *Stack Management > Index Management*.

[role="screenshot"]
image::images/management_index_labels.png[Index Management UI]
Expand Down
4 changes: 2 additions & 2 deletions docs/management/managing-licenses.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ with no expiration date. For the full list of features, refer to

If you want to try out the full set of features, you can activate a free 30-day
trial. To view the status of your license, start a trial, or install a new
license, open the menu, then go to *Stack Management > Stack > License Management*.
license, open the main menu, then click *Stack Management > License Management*.

NOTE: You can start a trial only if your cluster has not already activated a
trial license for the current major product version. For example, if you have
Expand All @@ -34,7 +34,7 @@ the features that will no longer be supported if you revert to a basic license.

The `manage` cluster privilege is required to access *License Management*.

You can add this privilege in *Stack Management > Security > Roles*.
To add the privilege, open the main menu, then click *Stack Management > Roles*.

[discrete]
[[update-license]]
Expand Down
8 changes: 1 addition & 7 deletions docs/management/managing-saved-objects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ The *Saved Objects* UI helps you keep track of and manage your saved objects. Th
store data for later use, including dashboards, visualizations, maps, index patterns,
Canvas workpads, and more.

To get started, open the menu, then go to *Stack Management > {kib} > Saved Objects*. With this UI, you can:

* <<managing-saved-objects-view, View&#44; edit&#44; and delete saved objects>>
* <<managing-saved-objects-export-objects, Import and export saved objects>>
* <<managing-saved-objects-copy-to-space, Copy saved objects to another {kib} space>>
* <<managing-saved-objects-object-definition, Edit the object definition>>

To get started, open the main menu, then click *Stack Management > Saved Objects*.

[role="screenshot"]
image::images/management-saved-objects.png[Saved Objects]
Expand Down
12 changes: 4 additions & 8 deletions docs/management/rollups/create_and_manage_rollups.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ by an index pattern, and then rolls it into a new index. Rollup indices are a go
compactly store months or years of historical
data for use in visualizations and reports.

To get started, open the menu, then go to *Stack Management > Data > Rollup Jobs*. With this UI,
you can:

* <<create-and-manage-rollup-job, Create a rollup job>>
* <<manage-rollup-job, Start&comma; stop&comma; and delete rollup jobs>>
To get started, open the main menu, then click *Stack Management > Rollup Jobs*.

[role="screenshot"]
image::images/management_rollup_list.png[][List of currently active rollup jobs]
Expand All @@ -25,7 +21,7 @@ Before using this feature, you should be familiar with how rollups work.

The `manage_rollup` cluster privilege is required to access *Rollup jobs*.

You can add this privilege in *Stack Management > Security > Roles*.
To add the privilege, open the main menu, then click *Stack Management > Roles*.

[float]
[[create-and-manage-rollup-job]]
Expand Down Expand Up @@ -137,7 +133,7 @@ Your next step is to visualize your rolled up data in a vertical bar chart.
Most visualizations support rolled up data, with the exception of Timelion and Vega visualizations.


. Go to *Stack Management > {kib} > Index Patterns*.
. Open the main menu, then click *Stack Management > Index Patterns*.

. Click *Create index pattern*, and select *Rollup index pattern* from the dropdown.
+
Expand All @@ -152,7 +148,7 @@ is `rollup_logstash,kibana_sample_data_logs`. In this index pattern, `rollup_log
matches the rolled up index pattern and `kibana_sample_data_logs` matches the index
pattern for raw data.

. Go to *Dashboard* and create a vertical bar chart.
. Open the main menu, click *Dashboard*, then create and add a vertical bar chart.

. Choose `rollup_logstash,kibana_sample_data_logs`
as your source to see both the raw and rolled up data.
Expand Down
Loading

0 comments on commit c66396f

Please sign in to comment.