Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drilldowns various 3 #60260

Merged
merged 39 commits into from
Mar 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
c6ec5d4
[SIEM] [CASES] Status / Batch update (#59856)
XavierM Mar 13, 2020
9d00427
Downgrade to query-string v5.1.1 (#59633)
alexwizp Mar 13, 2020
4c7366e
Make APM Timeline take xMin and xMax not duration (#60084)
smith Mar 13, 2020
155db6c
[Remote clusters] Fix import path for serialization function (#60065)
alisonelizabeth Mar 13, 2020
5d428b0
Search Service: cutover agg types to the new platform (#59605)
lukeelmers Mar 13, 2020
c90293d
Revert "Using re2 for Timelion regular expressions (#55208)"
spalger Mar 13, 2020
1d46dac
[Maps] convert layers/fields folder to TS (#59768)
nreese Mar 13, 2020
526972e
More a11y tests on index pattern page (#59575)
bhavyarm Mar 13, 2020
b9e9311
rename dashboard_embeddable_container to dashboard (#59898)
stacey-gammon Mar 13, 2020
4f0dd99
[Fleet] Give output API key the correct privileges (#60094)
nchaulet Mar 13, 2020
71400f9
[APM] Service maps fix for service name/env filtering & centering (#5…
ogupte Mar 13, 2020
4dbe261
[Endpoint] add policy details route (#59951)
kevinlog Mar 13, 2020
e74127a
docs(NA): add node-gyp setup instructions to the contributing guide. …
mistic Mar 13, 2020
dbe48e4
Actually fetch functionbeat fields needed for telemetry (#60054)
ycombinator Mar 13, 2020
4eba818
[Watcher UI] Not possible to edit a watch that was created with the A…
jkelastic Mar 13, 2020
0c1c8f8
[Ingest] Agent Config create with sys monitoring (#60111)
paul-tavares Mar 13, 2020
8609aa0
Move subscribe_with_scope to kibana_legacy (#59781)
kertal Mar 13, 2020
54f55f6
Disable query bar on service map routes (#60118)
smith Mar 13, 2020
35302ed
[ML] Client side cut over (#60100)
jgowdyelastic Mar 13, 2020
98c529f
[SIEM] [Case] Insert timeline bugfix and limit 25 cases (#60136)
stephmilovic Mar 13, 2020
6e6325b
Expose Elasticsearch from start and deprecate from setup (#59886)
rudolf Mar 13, 2020
6c7bf4f
enable triggers_actions_ui plugin by default (#60137)
Mar 13, 2020
6a0bbcf
Move canvas setup into app mount (#59926)
Mar 13, 2020
4b2231d
OSS logic added to test environment (#60134)
rashmivkulkarni Mar 13, 2020
c435eb1
[siem/cypress] update junit filename to be picked up by runbld (#60156)
Mar 13, 2020
00de79b
Closes #59784. Sets xpack.apm.serviceMapEnabled default value true. (…
ogupte Mar 13, 2020
5fb747e
[SIEM][CASES] Configure cases: Final (#59358)
cnasikas Mar 13, 2020
02ee4b1
Move select range trigger to uiActions (#60168)
mattkime Mar 14, 2020
36d6590
Handle improperly defined Watcher Logging Action text parameter. (#60…
cjcenizal Mar 14, 2020
7e36950
Move VALUE_CLICK_TRIGGER and APPLY_FILTER_TRIGGER to ui_action… (#60202)
mattkime Mar 15, 2020
96ac1aa
[ML] Clone analytics job (#59791)
darnautov Mar 15, 2020
7d12b76
[NP] Graph migration (#59409)
maryia-lapata Mar 16, 2020
a772987
chore: 🤖 catch up with master
streamich Mar 16, 2020
e66513c
fix: 🐛 correct merge
streamich Mar 16, 2020
8ade18a
feat: 🎸 hide "Create drilldown" from context menu when needed
streamich Mar 16, 2020
77cc530
style: 💄 remove AnyDrilldown type
streamich Mar 16, 2020
e23f6a8
feat: 🎸 add drilldown factory context
streamich Mar 16, 2020
64abc99
chore: 🤖 remove sample drilldown
streamich Mar 16, 2020
2a612f9
fix: 🐛 increase spacing between action factory picker
streamich Mar 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module.exports = {
},
},
{
files: ['x-pack/legacy/plugins/ml/**/*.{js,ts,tsx}'],
files: ['x-pack/plugins/ml/**/*.{js,ts,tsx}'],
rules: {
'react-hooks/exhaustive-deps': 'off',
},
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/src/plugins/kibana_legacy/ @elastic/kibana-app
/src/plugins/timelion/ @elastic/kibana-app
/src/plugins/dev_tools/ @elastic/kibana-app
/src/plugins/dashboard_embeddable_container/ @elastic/kibana-app
/src/plugins/dashboard/ @elastic/kibana-app

# App Architecture
/packages/kbn-interpreter/ @elastic/kibana-app-arch
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/.es
.DS_Store
.node_binaries
.native_modules
node_modules
!/src/dev/npm/integration_tests/__fixtures__/fixture1/node_modules
!/src/dev/notice/__fixtures__/node_modules
Expand Down
2 changes: 1 addition & 1 deletion .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"common.ui": "src/legacy/ui",
"console": "src/plugins/console",
"core": "src/core",
"dashboardEmbeddableContainer": "src/plugins/dashboard_embeddable_container",
"dashboard": "src/plugins/dashboard",
"data": [
"src/legacy/core_plugins/data",
"src/plugins/data"
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ Bootstrap Kibana and install all the dependencies
yarn kbn bootstrap
```

> Node.js native modules could be in use and node-gyp is the tool used to build them. There are tools you need to install per platform and python versions you need to be using. Please see https://github.com/nodejs/node-gyp#installation and follow the guide according your platform.

(You can also run `yarn kbn` to see the other available commands. For more info about this tool, see https://github.com/elastic/kibana/tree/master/packages/kbn-pm.)

When switching branches which use different versions of npm packages you may need to run;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [CoreStart](./kibana-plugin-core-server.corestart.md) &gt; [elasticsearch](./kibana-plugin-core-server.corestart.elasticsearch.md)

## CoreStart.elasticsearch property

[ElasticsearchServiceStart](./kibana-plugin-core-server.elasticsearchservicestart.md)

<b>Signature:</b>

```typescript
elasticsearch: ElasticsearchServiceStart;
```
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface CoreStart
| Property | Type | Description |
| --- | --- | --- |
| [capabilities](./kibana-plugin-core-server.corestart.capabilities.md) | <code>CapabilitiesStart</code> | [CapabilitiesStart](./kibana-plugin-core-server.capabilitiesstart.md) |
| [elasticsearch](./kibana-plugin-core-server.corestart.elasticsearch.md) | <code>ElasticsearchServiceStart</code> | [ElasticsearchServiceStart](./kibana-plugin-core-server.elasticsearchservicestart.md) |
| [savedObjects](./kibana-plugin-core-server.corestart.savedobjects.md) | <code>SavedObjectsServiceStart</code> | [SavedObjectsServiceStart](./kibana-plugin-core-server.savedobjectsservicestart.md) |
| [uiSettings](./kibana-plugin-core-server.corestart.uisettings.md) | <code>UiSettingsServiceStart</code> | [UiSettingsServiceStart](./kibana-plugin-core-server.uisettingsservicestart.md) |

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@

## ElasticsearchServiceSetup.adminClient property

A client for the `admin` cluster. All Elasticsearch config value changes are processed under the hood. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->.
> Warning: This API is now obsolete.
>
> Use [ElasticsearchServiceStart.legacy.client](./kibana-plugin-core-server.elasticsearchservicestart.legacy.md) instead.
>
> A client for the `admin` cluster. All Elasticsearch config value changes are processed under the hood. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->.
>

<b>Signature:</b>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@

## ElasticsearchServiceSetup.createClient property

Create application specific Elasticsearch cluster API client with customized config. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->.
> Warning: This API is now obsolete.
>
> Use [ElasticsearchServiceStart.legacy.createClient](./kibana-plugin-core-server.elasticsearchservicestart.legacy.md) instead.
>
> Create application specific Elasticsearch cluster API client with customized config. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->.
>

<b>Signature:</b>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@

## ElasticsearchServiceSetup.dataClient property

A client for the `data` cluster. All Elasticsearch config value changes are processed under the hood. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->.
> Warning: This API is now obsolete.
>
> Use [ElasticsearchServiceStart.legacy.client](./kibana-plugin-core-server.elasticsearchservicestart.legacy.md) instead.
>
> A client for the `data` cluster. All Elasticsearch config value changes are processed under the hood. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->.
>

<b>Signature:</b>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface ElasticsearchServiceSetup

| Property | Type | Description |
| --- | --- | --- |
| [adminClient](./kibana-plugin-core-server.elasticsearchservicesetup.adminclient.md) | <code>IClusterClient</code> | A client for the <code>admin</code> cluster. All Elasticsearch config value changes are processed under the hood. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->. |
| [createClient](./kibana-plugin-core-server.elasticsearchservicesetup.createclient.md) | <code>(type: string, clientConfig?: Partial&lt;ElasticsearchClientConfig&gt;) =&gt; ICustomClusterClient</code> | Create application specific Elasticsearch cluster API client with customized config. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->. |
| [dataClient](./kibana-plugin-core-server.elasticsearchservicesetup.dataclient.md) | <code>IClusterClient</code> | A client for the <code>data</code> cluster. All Elasticsearch config value changes are processed under the hood. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->. |
| [adminClient](./kibana-plugin-core-server.elasticsearchservicesetup.adminclient.md) | <code>IClusterClient</code> | |
| [createClient](./kibana-plugin-core-server.elasticsearchservicesetup.createclient.md) | <code>(type: string, clientConfig?: Partial&lt;ElasticsearchClientConfig&gt;) =&gt; ICustomClusterClient</code> | |
| [dataClient](./kibana-plugin-core-server.elasticsearchservicesetup.dataclient.md) | <code>IClusterClient</code> | |

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [ElasticsearchServiceStart](./kibana-plugin-core-server.elasticsearchservicestart.md) &gt; [legacy](./kibana-plugin-core-server.elasticsearchservicestart.legacy.md)

## ElasticsearchServiceStart.legacy property

<b>Signature:</b>

```typescript
legacy: {
readonly createClient: (type: string, clientConfig?: Partial<ElasticsearchClientConfig>) => ICustomClusterClient;
readonly client: IClusterClient;
};
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [ElasticsearchServiceStart](./kibana-plugin-core-server.elasticsearchservicestart.md)

## ElasticsearchServiceStart interface


<b>Signature:</b>

```typescript
export interface ElasticsearchServiceStart
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [legacy](./kibana-plugin-core-server.elasticsearchservicestart.legacy.md) | <code>{</code><br/><code> readonly createClient: (type: string, clientConfig?: Partial&lt;ElasticsearchClientConfig&gt;) =&gt; ICustomClusterClient;</code><br/><code> readonly client: IClusterClient;</code><br/><code> }</code> | |

1 change: 1 addition & 0 deletions docs/development/core/server/kibana-plugin-core-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ The plugin integrates with the core system via lifecycle events: `setup`<!-- -->
| [DiscoveredPlugin](./kibana-plugin-core-server.discoveredplugin.md) | Small container object used to expose information about discovered plugins that may or may not have been started. |
| [ElasticsearchError](./kibana-plugin-core-server.elasticsearcherror.md) | |
| [ElasticsearchServiceSetup](./kibana-plugin-core-server.elasticsearchservicesetup.md) | |
| [ElasticsearchServiceStart](./kibana-plugin-core-server.elasticsearchservicestart.md) | |
| [EnvironmentMode](./kibana-plugin-core-server.environmentmode.md) | |
| [ErrorHttpResponseOptions](./kibana-plugin-core-server.errorhttpresponseoptions.md) | HTTP response parameters |
| [FakeRequest](./kibana-plugin-core-server.fakerequest.md) | Fake request object created manually by Kibana plugins. |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggGroupNames](./kibana-plugin-plugins-data-public.agggroupnames.md)

## AggGroupNames variable

<b>Signature:</b>

```typescript
AggGroupNames: Readonly<{
Buckets: "buckets";
Metrics: "metrics";
None: "none";
}>
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParam](./kibana-plugin-plugins-data-public.aggparam.md)

## AggParam type

<b>Signature:</b>

```typescript
export declare type AggParam = BaseParamType;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParamOption](./kibana-plugin-plugins-data-public.aggparamoption.md) &gt; [display](./kibana-plugin-plugins-data-public.aggparamoption.display.md)

## AggParamOption.display property

<b>Signature:</b>

```typescript
display: string;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParamOption](./kibana-plugin-plugins-data-public.aggparamoption.md) &gt; [enabled](./kibana-plugin-plugins-data-public.aggparamoption.enabled.md)

## AggParamOption.enabled() method

<b>Signature:</b>

```typescript
enabled?(agg: AggConfig): boolean;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| agg | <code>AggConfig</code> | |

<b>Returns:</b>

`boolean`

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParamOption](./kibana-plugin-plugins-data-public.aggparamoption.md)

## AggParamOption interface

<b>Signature:</b>

```typescript
export interface AggParamOption
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [display](./kibana-plugin-plugins-data-public.aggparamoption.display.md) | <code>string</code> | |
| [val](./kibana-plugin-plugins-data-public.aggparamoption.val.md) | <code>string</code> | |

## Methods

| Method | Description |
| --- | --- |
| [enabled(agg)](./kibana-plugin-plugins-data-public.aggparamoption.enabled.md) | |

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParamOption](./kibana-plugin-plugins-data-public.aggparamoption.md) &gt; [val](./kibana-plugin-plugins-data-public.aggparamoption.val.md)

## AggParamOption.val property

<b>Signature:</b>

```typescript
val: string;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParamType](./kibana-plugin-plugins-data-public.aggparamtype.md) &gt; [(constructor)](./kibana-plugin-plugins-data-public.aggparamtype._constructor_.md)

## AggParamType.(constructor)

Constructs a new instance of the `AggParamType` class

<b>Signature:</b>

```typescript
constructor(config: Record<string, any>);
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| config | <code>Record&lt;string, any&gt;</code> | |

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParamType](./kibana-plugin-plugins-data-public.aggparamtype.md) &gt; [allowedAggs](./kibana-plugin-plugins-data-public.aggparamtype.allowedaggs.md)

## AggParamType.allowedAggs property

<b>Signature:</b>

```typescript
allowedAggs: string[];
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParamType](./kibana-plugin-plugins-data-public.aggparamtype.md) &gt; [makeAgg](./kibana-plugin-plugins-data-public.aggparamtype.makeagg.md)

## AggParamType.makeAgg property

<b>Signature:</b>

```typescript
makeAgg: (agg: TAggConfig, state?: any) => TAggConfig;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggParamType](./kibana-plugin-plugins-data-public.aggparamtype.md)

## AggParamType class

<b>Signature:</b>

```typescript
export declare class AggParamType<TAggConfig extends IAggConfig = IAggConfig> extends BaseParamType<TAggConfig>
```

## Constructors

| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(config)](./kibana-plugin-plugins-data-public.aggparamtype._constructor_.md) | | Constructs a new instance of the <code>AggParamType</code> class |

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [allowedAggs](./kibana-plugin-plugins-data-public.aggparamtype.allowedaggs.md) | | <code>string[]</code> | |
| [makeAgg](./kibana-plugin-plugins-data-public.aggparamtype.makeagg.md) | | <code>(agg: TAggConfig, state?: any) =&gt; TAggConfig</code> | |

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggTypeFieldFilters](./kibana-plugin-plugins-data-public.aggtypefieldfilters.md) &gt; [addFilter](./kibana-plugin-plugins-data-public.aggtypefieldfilters.addfilter.md)

## AggTypeFieldFilters.addFilter() method

Register a new with this registry. This will be used by the .

<b>Signature:</b>

```typescript
addFilter(filter: AggTypeFieldFilter): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| filter | <code>AggTypeFieldFilter</code> | |

<b>Returns:</b>

`void`

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [AggTypeFieldFilters](./kibana-plugin-plugins-data-public.aggtypefieldfilters.md) &gt; [filter](./kibana-plugin-plugins-data-public.aggtypefieldfilters.filter.md)

## AggTypeFieldFilters.filter() method

Returns the filtered by all registered filters.

<b>Signature:</b>

```typescript
filter(fields: IndexPatternField[], aggConfig: IAggConfig): IndexPatternField[];
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| fields | <code>IndexPatternField[]</code> | |
| aggConfig | <code>IAggConfig</code> | |

<b>Returns:</b>

`IndexPatternField[]`

Loading