Skip to content

Commit a9032dc

Browse files
committed
Merge branch 'master' into eql_search_strategy_redux
2 parents 10b6979 + ac18bc0 commit a9032dc

1,205 files changed

Lines changed: 59783 additions & 24027 deletions

File tree

Some content is hidden

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

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ module.exports = {
388388
*/
389389
{
390390
files: [
391+
'**/*.stories.tsx',
391392
'x-pack/test/apm_api_integration/**/*.ts',
392393
'x-pack/test/functional/apps/**/*.js',
393394
'x-pack/plugins/apm/**/*.js',

config/kibana.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
# The URLs of the Elasticsearch instances to use for all your queries.
2828
#elasticsearch.hosts: ["http://localhost:9200"]
2929

30-
# When this setting's value is true Kibana uses the hostname specified in the server.host
31-
# setting. When the value of this setting is false, Kibana uses the hostname of the host
32-
# that connects to this Kibana instance.
33-
#elasticsearch.preserveHost: true
34-
3530
# Kibana uses an index in Elasticsearch to store saved searches, visualizations and
3631
# dashboards. Kibana creates a new index if the index doesn't already exist.
3732
#kibana.index: ".kibana"
@@ -81,9 +76,6 @@
8176
# Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.
8277
#elasticsearch.shardTimeout: 30000
8378

84-
# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying.
85-
#elasticsearch.startupTimeout: 5000
86-
8779
# Logs queries sent to Elasticsearch. Requires logging.verbose set to true.
8880
#elasticsearch.logQueries: false
8981

docs/developer/plugin-list.asciidoc

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,20 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a
7070
|This plugin contains reusable code in the form of self-contained modules (or libraries). Each of these modules exports a set of functionality relevant to the domain of the module.
7171
7272
73-
|{kib-repo}blob/{branch}/src/plugins/expressions/README.md[expressions]
74-
|This plugin provides methods which will parse & execute an expression pipeline
73+
|<<kibana-expressions-plugin>>
74+
|Expression pipeline is a chain of functions that *pipe* its output to the
75+
input of the next function. Functions can be configured using arguments provided
76+
by the user. The final output of the expression pipeline can be rendered using
77+
one of the *renderers* registered in `expressions` plugin.
78+
79+
All the arguments to expression functions need to be serializable, as well as input and output.
80+
Expression functions should try to stay 'pure'. This makes functions easy to reuse and also
81+
make it possible to serialize the whole chain as well as output at every step of execution.
82+
83+
Expressions power visualizations in Dashboard and Lens, as well as, every
84+
*element* in Canvas is backed by an expression.
85+
86+
This plugin provides methods which will parse & execute an *expression pipeline*
7587
string for you, as well as a series of registries for advanced users who might
7688
want to incorporate their own functions, types, and renderers into the service
7789
for use in their own application.
@@ -168,9 +180,16 @@ It also provides a stateful version of it on the start contract.
168180
which also contains the timelion APIs and backend, look at the vis_type_timelion plugin.
169181
170182
171-
|{kib-repo}blob/{branch}/src/plugins/ui_actions/README.md[uiActions]
183+
|<<uiactions-plugin>>
172184
|An API for:
173185
186+
- creating custom functionality (`actions`)
187+
- creating custom user interaction events (`triggers`)
188+
- attaching and detaching `actions` to `triggers`.
189+
- emitting `trigger` events
190+
- executing `actions` attached to a given `trigger`.
191+
- exposing a context menu for the user to choose the appropriate action when there are multiple actions attached to a single trigger.
192+
174193
175194
|{kib-repo}blob/{branch}/src/plugins/url_forwarding/README.md[urlForwarding]
176195
|This plugins contains helpers to redirect legacy URLs. It can be used to forward old URLs to their new counterparts.
@@ -511,5 +530,7 @@ in their infrastructure.
511530
|===
512531
513532
include::{kibana-root}/src/plugins/dashboard/README.asciidoc[leveloffset=+1]
533+
include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1]
534+
include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1]
514535
include::{kibana-root}/x-pack/plugins/dashboard_enhanced/README.asciidoc[leveloffset=+1]
515536
include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1]

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

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

1111
```typescript
12-
constructor({ spec, savedObjectsClient, fieldFormats, shortDotsEnable, metaFields, }: IndexPatternDeps);
12+
constructor({ spec, fieldFormats, shortDotsEnable, metaFields, }: IndexPatternDeps);
1313
```
1414

1515
## Parameters
1616

1717
| Parameter | Type | Description |
1818
| --- | --- | --- |
19-
| { spec, savedObjectsClient, fieldFormats, shortDotsEnable, metaFields, } | <code>IndexPatternDeps</code> | |
19+
| { spec, fieldFormats, shortDotsEnable, metaFields, } | <code>IndexPatternDeps</code> | |
2020

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export declare class IndexPattern implements IIndexPattern
1414
1515
| Constructor | Modifiers | Description |
1616
| --- | --- | --- |
17-
| [(constructor)({ spec, savedObjectsClient, fieldFormats, shortDotsEnable, metaFields, })](./kibana-plugin-plugins-data-public.indexpattern._constructor_.md) | | Constructs a new instance of the <code>IndexPattern</code> class |
17+
| [(constructor)({ spec, fieldFormats, shortDotsEnable, metaFields, })](./kibana-plugin-plugins-data-public.indexpattern._constructor_.md) | | Constructs a new instance of the <code>IndexPattern</code> class |
1818
1919
## Properties
2020
@@ -53,7 +53,6 @@ export declare class IndexPattern implements IIndexPattern
5353
| [getTimeField()](./kibana-plugin-plugins-data-public.indexpattern.gettimefield.md) | | |
5454
| [isTimeBased()](./kibana-plugin-plugins-data-public.indexpattern.istimebased.md) | | |
5555
| [isTimeNanosBased()](./kibana-plugin-plugins-data-public.indexpattern.istimenanosbased.md) | | |
56-
| [popularizeField(fieldName, unit)](./kibana-plugin-plugins-data-public.indexpattern.popularizefield.md) | | |
5756
| [removeScriptedField(fieldName)](./kibana-plugin-plugins-data-public.indexpattern.removescriptedfield.md) | | Remove scripted field from field list |
5857
| [toSpec()](./kibana-plugin-plugins-data-public.indexpattern.tospec.md) | | |
5958

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

Lines changed: 0 additions & 23 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ export declare class IndexPatternsService
4343
| [createAndSave(spec, override, skipFetchFields)](./kibana-plugin-plugins-data-public.indexpatternsservice.createandsave.md) | | Create a new index pattern and save it right away |
4444
| [createSavedObject(indexPattern, override)](./kibana-plugin-plugins-data-public.indexpatternsservice.createsavedobject.md) | | Save a new index pattern |
4545
| [delete(indexPatternId)](./kibana-plugin-plugins-data-public.indexpatternsservice.delete.md) | | Deletes an index pattern from .kibana index |
46-
| [updateSavedObject(indexPattern, saveAttempts)](./kibana-plugin-plugins-data-public.indexpatternsservice.updatesavedobject.md) | | Save existing index pattern. Will attempt to merge differences if there are conflicts |
46+
| [updateSavedObject(indexPattern, saveAttempts, ignoreErrors)](./kibana-plugin-plugins-data-public.indexpatternsservice.updatesavedobject.md) | | Save existing index pattern. Will attempt to merge differences if there are conflicts |
4747

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpatternsservice.updatesavedobject.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Save existing index pattern. Will attempt to merge differences if there are conf
99
<b>Signature:</b>
1010

1111
```typescript
12-
updateSavedObject(indexPattern: IndexPattern, saveAttempts?: number): Promise<void | Error>;
12+
updateSavedObject(indexPattern: IndexPattern, saveAttempts?: number, ignoreErrors?: boolean): Promise<void | Error>;
1313
```
1414

1515
## Parameters
@@ -18,6 +18,7 @@ updateSavedObject(indexPattern: IndexPattern, saveAttempts?: number): Promise<vo
1818
| --- | --- | --- |
1919
| indexPattern | <code>IndexPattern</code> | |
2020
| saveAttempts | <code>number</code> | |
21+
| ignoreErrors | <code>boolean</code> | |
2122

2223
<b>Returns:</b>
2324

docs/development/plugins/data/server/kibana-plugin-plugins-data-server.indexpattern._constructor_.md

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

1111
```typescript
12-
constructor({ spec, savedObjectsClient, fieldFormats, shortDotsEnable, metaFields, }: IndexPatternDeps);
12+
constructor({ spec, fieldFormats, shortDotsEnable, metaFields, }: IndexPatternDeps);
1313
```
1414

1515
## Parameters
1616

1717
| Parameter | Type | Description |
1818
| --- | --- | --- |
19-
| { spec, savedObjectsClient, fieldFormats, shortDotsEnable, metaFields, } | <code>IndexPatternDeps</code> | |
19+
| { spec, fieldFormats, shortDotsEnable, metaFields, } | <code>IndexPatternDeps</code> | |
2020

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export declare class IndexPattern implements IIndexPattern
1414
1515
| Constructor | Modifiers | Description |
1616
| --- | --- | --- |
17-
| [(constructor)({ spec, savedObjectsClient, fieldFormats, shortDotsEnable, metaFields, })](./kibana-plugin-plugins-data-server.indexpattern._constructor_.md) | | Constructs a new instance of the <code>IndexPattern</code> class |
17+
| [(constructor)({ spec, fieldFormats, shortDotsEnable, metaFields, })](./kibana-plugin-plugins-data-server.indexpattern._constructor_.md) | | Constructs a new instance of the <code>IndexPattern</code> class |
1818
1919
## Properties
2020
@@ -53,7 +53,6 @@ export declare class IndexPattern implements IIndexPattern
5353
| [getTimeField()](./kibana-plugin-plugins-data-server.indexpattern.gettimefield.md) | | |
5454
| [isTimeBased()](./kibana-plugin-plugins-data-server.indexpattern.istimebased.md) | | |
5555
| [isTimeNanosBased()](./kibana-plugin-plugins-data-server.indexpattern.istimenanosbased.md) | | |
56-
| [popularizeField(fieldName, unit)](./kibana-plugin-plugins-data-server.indexpattern.popularizefield.md) | | |
5756
| [removeScriptedField(fieldName)](./kibana-plugin-plugins-data-server.indexpattern.removescriptedfield.md) | | Remove scripted field from field list |
5857
| [toSpec()](./kibana-plugin-plugins-data-server.indexpattern.tospec.md) | | |
5958

0 commit comments

Comments
 (0)