Skip to content

Commit 77b8b33

Browse files
Merge branch 'master' into update_alerts
2 parents 15b89cf + 64311d3 commit 77b8b33

File tree

177 files changed

+3103
-1917
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+3103
-1917
lines changed

docs/developer/getting-started/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ you can switch to the correct version when using nvm by running:
3030
nvm use
3131
----
3232

33-
Install the latest version of https://yarnpkg.com[yarn].
33+
Install the latest version of https://classic.yarnpkg.com/en/docs/install[yarn v1].
3434

3535
Bootstrap {kib} and install all the dependencies:
3636

docs/developer/plugin/external-plugin-functional-tests.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To get started copy and paste this example to `test/functional/config.js`:
1313
["source","js"]
1414
-----------
1515
import { resolve } from 'path';
16-
import { resolveKibanaPath } from '@kbn/plugin-helpers';
16+
import { REPO_ROOT } from '@kbn/dev-utils';
1717
1818
import { MyServiceProvider } from './services/my_service';
1919
import { MyAppPageProvider } from './services/my_app_page';
@@ -24,7 +24,7 @@ export default async function ({ readConfigFile }) {
2424
2525
// read the {kib} config file so that we can utilize some of
2626
// its services and PageObjects
27-
const kibanaConfig = await readConfigFile(resolveKibanaPath('test/functional/config.js'));
27+
const kibanaConfig = await readConfigFile(resolve(REPO_ROOT, 'test/functional/config.js'));
2828
2929
return {
3030
// list paths to the files that contain your plugins tests

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist._constructor_.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Constructs a new instance of the `FieldList` class
99
<b>Signature:</b>
1010

1111
```typescript
12-
constructor(indexPattern: IndexPattern, specs?: FieldSpec[], shortDotsEnable?: boolean, onNotification?: () => void);
12+
constructor(indexPattern: IndexPattern, specs?: FieldSpec[], shortDotsEnable?: boolean, onNotification?: OnNotification);
1313
```
1414

1515
## Parameters
@@ -19,5 +19,5 @@ constructor(indexPattern: IndexPattern, specs?: FieldSpec[], shortDotsEnable?: b
1919
| indexPattern | <code>IndexPattern</code> | |
2020
| specs | <code>FieldSpec[]</code> | |
2121
| shortDotsEnable | <code>boolean</code> | |
22-
| onNotification | <code>() =&gt; void</code> | |
22+
| onNotification | <code>OnNotification</code> | |
2323

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IndexPattern](./kibana-plugin-plugins-data-public.indexpattern.md) &gt; [intervalName](./kibana-plugin-plugins-data-public.indexpattern.intervalname.md)
4+
5+
## IndexPattern.intervalName property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
intervalName: string | undefined;
11+
```

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ export declare class IndexPattern implements IIndexPattern
2727
| [formatField](./kibana-plugin-plugins-data-public.indexpattern.formatfield.md) | | <code>any</code> | |
2828
| [formatHit](./kibana-plugin-plugins-data-public.indexpattern.formathit.md) | | <code>any</code> | |
2929
| [id](./kibana-plugin-plugins-data-public.indexpattern.id.md) | | <code>string</code> | |
30+
| [intervalName](./kibana-plugin-plugins-data-public.indexpattern.intervalname.md) | | <code>string &#124; undefined</code> | |
3031
| [metaFields](./kibana-plugin-plugins-data-public.indexpattern.metafields.md) | | <code>string[]</code> | |
32+
| [sourceFilters](./kibana-plugin-plugins-data-public.indexpattern.sourcefilters.md) | | <code>SourceFilter[]</code> | |
3133
| [timeFieldName](./kibana-plugin-plugins-data-public.indexpattern.timefieldname.md) | | <code>string &#124; undefined</code> | |
3234
| [title](./kibana-plugin-plugins-data-public.indexpattern.title.md) | | <code>string</code> | |
35+
| [type](./kibana-plugin-plugins-data-public.indexpattern.type.md) | | <code>string &#124; undefined</code> | |
3336
| [typeMeta](./kibana-plugin-plugins-data-public.indexpattern.typemeta.md) | | <code>TypeMeta</code> | |
3437
3538
## Methods

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.prepbody.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,26 @@
88

99
```typescript
1010
prepBody(): {
11-
[key: string]: any;
11+
title: string;
12+
timeFieldName: string | undefined;
13+
intervalName: string | undefined;
14+
sourceFilters: string | undefined;
15+
fields: string | undefined;
16+
fieldFormatMap: string | undefined;
17+
type: string | undefined;
18+
typeMeta: string | undefined;
1219
};
1320
```
1421
<b>Returns:</b>
1522

1623
`{
17-
[key: string]: any;
24+
title: string;
25+
timeFieldName: string | undefined;
26+
intervalName: string | undefined;
27+
sourceFilters: string | undefined;
28+
fields: string | undefined;
29+
fieldFormatMap: string | undefined;
30+
type: string | undefined;
31+
typeMeta: string | undefined;
1832
}`
1933

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IndexPattern](./kibana-plugin-plugins-data-public.indexpattern.md) &gt; [sourceFilters](./kibana-plugin-plugins-data-public.indexpattern.sourcefilters.md)
4+
5+
## IndexPattern.sourceFilters property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
sourceFilters?: SourceFilter[];
11+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IndexPattern](./kibana-plugin-plugins-data-public.indexpattern.md) &gt; [type](./kibana-plugin-plugins-data-public.indexpattern.type.md)
4+
5+
## IndexPattern.type property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
type: string | undefined;
11+
```

docs/settings/monitoring-settings.asciidoc

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<titleabbrev>Monitoring settings</titleabbrev>
66
++++
77

8-
By default, the Monitoring application is enabled, but data collection
9-
is disabled. When you first start {kib} monitoring, you are prompted to
10-
enable data collection. If you are using {stack-security-features}, you must be
11-
signed in as a user with the `cluster:manage` privilege to enable
12-
data collection. The built-in `superuser` role has this privilege and the
13-
built-in `elastic` user has this role.
8+
By default, *{stack-monitor-app}* is enabled, but data collection is disabled.
9+
When you first start {kib} monitoring, you are prompted to enable data
10+
collection. If you are using {stack-security-features}, you must be signed in as
11+
a user with the `cluster:manage` privilege to enable data collection. The
12+
built-in `superuser` role has this privilege and the built-in `elastic` user has
13+
this role.
1414

1515
You can adjust how monitoring data is
1616
collected from {kib} and displayed in {kib} by configuring settings in the
@@ -49,7 +49,7 @@ For more information, see
4949
in {kib} to the {es} monitoring cluster and to verify licensing status on the {es}
5050
monitoring cluster. +
5151
+
52-
Every other request performed by the Stack Monitoring UI to the monitoring {es}
52+
Every other request performed by *{stack-monitor-app}* to the monitoring {es}
5353
cluster uses the authenticated user's credentials, which must be the same on
5454
both the {es} monitoring cluster and the {es} production cluster. +
5555
+
@@ -60,7 +60,7 @@ For more information, see
6060
in {kib} to the {es} monitoring cluster and to verify licensing status on the {es}
6161
monitoring cluster. +
6262
+
63-
Every other request performed by the Stack Monitoring UI to the monitoring {es}
63+
Every other request performed by *{stack-monitor-app}* to the monitoring {es}
6464
cluster uses the authenticated user's credentials, which must be the same on
6565
both the {es} monitoring cluster and the {es} production cluster. +
6666
+
@@ -83,7 +83,7 @@ These settings control how data is collected from {kib}.
8383
|===
8484
| `monitoring.kibana.collection.enabled`
8585
| Set to `true` (default) to enable data collection from the {kib} NodeJS server
86-
for {kib} Dashboards to be featured in the Monitoring.
86+
for {kib} dashboards to be featured in *{stack-monitor-app}*.
8787

8888
| `monitoring.kibana.collection.interval`
8989
| Specifies the number of milliseconds to wait in between data sampling on the
@@ -96,16 +96,26 @@ These settings control how data is collected from {kib}.
9696
[[monitoring-ui-settings]]
9797
==== Monitoring UI settings
9898

99-
These settings adjust how the {kib} Monitoring page displays monitoring data.
99+
These settings adjust how *{stack-monitor-app}* displays monitoring data.
100100
However, the defaults work best in most circumstances. For more information
101101
about configuring {kib}, see
102-
{kibana-ref}/settings.html[Setting Kibana Server Properties].
102+
{kibana-ref}/settings.html[Setting {kib} server properties].
103103

104104
[cols="2*<"]
105105
|===
106106
| `monitoring.ui.elasticsearch.logFetchCount`
107-
| Specifies the number of log entries to display in the Monitoring UI. Defaults to
108-
`10`. The maximum value is `50`.
107+
| Specifies the number of log entries to display in *{stack-monitor-app}*.
108+
Defaults to `10`. The maximum value is `50`.
109+
110+
| `monitoring.ui.enabled`
111+
| Set to `false` to hide *{stack-monitor-app}*. The monitoring back-end
112+
continues to run as an agent for sending {kib} stats to the monitoring
113+
cluster. Defaults to `true`.
114+
115+
| `monitoring.ui.logs.index`
116+
| Specifies the name of the indices that are shown on the
117+
<<logs-monitor-page,*Logs*>> page in *{stack-monitor-app}*. The default value
118+
is `filebeat-*`.
109119

110120
| `monitoring.ui.max_bucket_size`
111121
| Specifies the number of term buckets to return out of the overall terms list when
@@ -120,18 +130,13 @@ about configuring {kib}, see
120130
`monitoring.ui.collection.interval` in `elasticsearch.yml`, use the same
121131
value in this setting.
122132

123-
| `monitoring.ui.enabled`
124-
| Set to `false` to hide the Monitoring UI in {kib}. The monitoring back-end
125-
continues to run as an agent for sending {kib} stats to the monitoring
126-
cluster. Defaults to `true`.
127-
128133
|===
129134

130135
[float]
131136
[[monitoring-ui-cgroup-settings]]
132137
===== Monitoring UI container settings
133138

134-
The Monitoring UI exposes the Cgroup statistics that we collect for you to make
139+
*{stack-monitor-app}* exposes the Cgroup statistics that we collect for you to make
135140
better decisions about your container performance, rather than guessing based on
136141
the overall machine performance. If you are not running your applications in a
137142
container, then Cgroup statistics are not useful.

docs/setup/settings.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ The `server.xsrf.whitelist` setting requires the following format:
592592
[cols="2*<"]
593593
|===
594594

595-
| [[settings-xsrf-disableProtection]] `status.xsrf.disableProtection:`
595+
| [[settings-xsrf-disableProtection]] `server.xsrf.disableProtection:`
596596
| Setting this to `true` will completely disable Cross-site request forgery protection in Kibana. This is not recommended. *Default: `false`*
597597

598598
| `status.allowAnonymous:`

0 commit comments

Comments
 (0)